tinypy crashes when processing certain files with py2bc.py
Closed this issue · 3 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Save " \n?" to test.py
2. Run "./build/tinypy ./tinypy/py2bc.py test.py test.tpc"
What is the expected output? What do you see instead?
tinypy should output an exception regarding a tokenization error (something
like
"""
Exception:
error: tokenize
2: ?"
"""
Instead, tinypy crashes.
What version of the product are you using? On what operating system?
Tested on Windows XP SP2, against latest revision (r74), compiled with mingw.
Please provide any additional information below.
The crash doesn't happen when running the file directly through tinypy,
only when running it through py2bc.py. Also, it doesn't happen when there
is no indentation prior to the question mark character.
Original issue reported on code.google.com by denis.ka...@gmail.com
on 5 Jul 2008 at 4:35
GoogleCodeExporter commented
I wasn't able to reproduce this issue under linux. Can you provide a patch to
tests.py that reproduces this issue?
Original comment by philhas...@gmail.com
on 5 Sep 2008 at 6:37
GoogleCodeExporter commented
I can't seem to duplicate it any more myself. We must have done something to fix
this. Closing the issue.
Original comment by denis.ka...@gmail.com
on 5 Sep 2008 at 7:54
- Changed state: WorksForMe
GoogleCodeExporter commented
Or rather WontFix since Google Code doesn't support WorksForMe, sadly. :(
Original comment by denis.ka...@gmail.com
on 5 Sep 2008 at 7:56
- Changed state: WontFix