[New-bugs-announce] [issue9130] Parser module fails on short relative imports

Mark Dickinson report at bugs.python.org
Wed Jun 30 21:31:06 CEST 2010


New submission from Mark Dickinson <dickinsm at 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 <report at bugs.python.org>
<http://bugs.python.org/issue9130>
_______________________________________


More information about the New-bugs-announce mailing list