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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17393>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to