New submission from Mark Dickinson <dicki...@gmail.com>: Python 2.7rc2+ (trunk:82399M, Jun 30 2010, 17:10:13) [GCC 4.2.1 (Apple Inc. build 5659)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import parser [35303 refs] >>> parser.sequence2st(parser.suite("@deco\nclass A(): pass").totuple()) <parser.st object at 0x10045d310> XXX undetected error Traceback (most recent call last): File "<stdin>", line 1, in <module> parser.ParserError: Expected node type 262, got 330. [35347 refs]
Patch attached. ---------- components: Extension Modules files: parser_class_decorator.patch keywords: patch messages: 109002 nosy: mark.dickinson priority: normal severity: normal status: open title: Parser module fails to validate class decorators correctly. type: behavior versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2 Added file: http://bugs.python.org/file17820/parser_class_decorator.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9128> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com