[New-bugs-announce] [issue9245] "from itertools imoprt *" crashes 2to3

Ronald Oussoren report at bugs.python.org
Tue Jul 13 13:58:36 CEST 2010


New submission from Ronald Oussoren <ronaldoussoren at mac.com>:

a script containing the following line crashes 2to3 with an assertion error.

The line:

  from itertools import *


File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib2to3/fixes/fix_itertools_imports.py", line 24, in transform
    assert child.type == syms.import_as_name
AssertionError

----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 110175
nosy: ronaldoussoren
priority: normal
severity: normal
status: open
title: "from itertools imoprt *" crashes 2to3
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9245>
_______________________________________


More information about the New-bugs-announce mailing list