This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ptn
Recipients ehuss, georg.brandl, inyeollee, ncoghlan, ptn, terry.reedy
Date 2009-06-07.19:31:01
SpamBayes Score 7.880918e-13
Marked as misclassified No
Message-id <1244403062.76.0.421243975695.issue1184112@psf.upfronthosting.co.za>
In-reply-to
Content
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
>>>
History
Date User Action Args
2009-06-07 19:31:03ptnsetrecipients: + ptn, georg.brandl, terry.reedy, ehuss, ncoghlan, inyeollee
2009-06-07 19:31:02ptnsetmessageid: <1244403062.76.0.421243975695.issue1184112@psf.upfronthosting.co.za>
2009-06-07 19:31:01ptnlinkissue1184112 messages
2009-06-07 19:31:01ptncreate