[issue9130] Parser module fails on short relative imports

2010-07-04 Thread Mark Dickinson
Mark Dickinson added the comment: Ellipsis token validation fixed in r82555 (py3k), r82556 (release31-maint). -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue9130] Parser module fails on short relative imports

2010-07-04 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed in revisions r82543, r82546, r82552, r82553, r82554. Leaving open because I'm suspicious that the parser module isn't handling relative imports with more than three dots correctly in py3k (since ... gets parsed as an ellipsis token). -- __

[issue9130] Parser module fails on short relative imports

2010-06-30 Thread Mark Dickinson
Mark Dickinson added the comment: With this patch, and the one in issue 9128, the parser module roundtrips correctly on all Lib/*.py and all Lib/test/*.py files (except for Lib/test/bad*.py). Tested by doing: ./python.exe Demo/parser/test_parser.py Lib/*.py and ./python.exe Demo/parser/tes

[issue9130] Parser module fails on short relative imports

2010-06-30 Thread Mark Dickinson
New submission from Mark Dickinson : 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").to