Closed GoogleCodeExporter closed 9 years ago
Odd, will have to investigate but have a suspicion that Python 3 may be writing
to a different output pipe or something.
Currently PyStudio checks stderr of the python process used to check for syntax
errors. Maybe Python has started writing errors to stdout instead?
Original comment by CodyPrec...@gmail.com
on 12 Sep 2012 at 12:59
well, it isn't a matter of which pipe; they both use stderr. I had to use &> to
redirect stderr instead of stdin in order to do the diff.
Original comment by 00a...@gmail.com
on 12 Sep 2012 at 3:15
Root cause:
py_compile module has changed its output reporting in python 3 parsing is
failing to identify the error.
Python 2.x:
SyntaxError: ('invalid syntax', ('test.py', 3, 1, '*(F$\n'))
Python 3.x:
File "test.py", line 2
print "foo"
^
SyntaxError: invalid syntax
Original comment by CodyPrec...@gmail.com
on 13 Sep 2012 at 12:14
fixed in svn for version 0.8 of PyStudio plugin
Original comment by CodyPrec...@gmail.com
on 13 Sep 2012 at 1:39
Original issue reported on code.google.com by
00a...@gmail.com
on 12 Sep 2012 at 2:26