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("from . import me").totuple()) Traceback (most recent call last): File "<stdin>", line 1, in <module> parser.ParserError: VALIDATION FAILURE: report this to the maintainer! [35341 refs]
Patch attached. ---------- assignee: mark.dickinson components: Extension Modules files: parser_relative_imports.patch keywords: patch messages: 109006 nosy: mark.dickinson priority: normal severity: normal stage: commit review status: open title: Parser module fails on short relative imports type: behavior versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2 Added file: http://bugs.python.org/file17821/parser_relative_imports.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9130> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com