possible bug of parser.suite
Fan Guanping
fan_jacob at hotmail.com
Fri Jul 5 12:45:38 EDT 2002
parser.suite seems broken at least in Python '2.2.1 (#34, Apr 15 2002, 09:51:39)
[MSC 32 bit (Intel)]'. Is this a bug,or I use it incorrectly?
>>> parser.suite('class Abc:pass')
<parser.st object at 0x007B5F48>
>>> parser.suite('class Abc:\n def hello(self):\n pass')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
parser.ParserError: could not parse string
More information about the Python-list
mailing list