[New-bugs-announce] [issue17393] stdlib import mistaken for local by import_fixer

Lennart Regebro report at bugs.python.org
Sun Mar 10 21:22:54 CET 2013


New submission from Lennart Regebro:

If you have a local folder (without an __init__.py, hence just a normal folder) with the same name as a non local module, the import statements of that module will assumed to be local and transformed from for example ``import datetime`` to ``from . import datetime``.

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 183894
nosy: lregebro
priority: normal
severity: normal
status: open
title: stdlib import mistaken for local by import_fixer
versions: Python 3.3

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


More information about the New-bugs-announce mailing list