Pablo Torres Navarrete <tn.pa...@gmail.com> added the comment:

Confirmed on versions 2.6.2, 3.0.1 and 3.1rc1.  On the three of them, I
tried this:

>>> import parser 
>>> test = 'def foo():\n\tpass\n\n# comment'
>>> parser.suite(test)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<string>", line 4
    # comment
           ^
SyntaxError: invalid syntax
>>>

----------
nosy: +ptn

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1184112>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to