[issue17393] stdlib import mistaken for local by import_fixer

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker

[issue17393] stdlib import mistaken for local by import_fixer

2019-10-16 Thread Romuald Brunet
Change by Romuald Brunet : -- keywords: +patch pull_requests: +16376 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16826 ___ Python tracker ___

[issue17393] stdlib import mistaken for local by import_fixer

2019-10-16 Thread Romuald Brunet
Romuald Brunet added the comment: Confirming that this issue is still present on 3.8 (and working on a fix) -- ___ Python tracker ___

[issue17393] stdlib import mistaken for local by import_fixer

2019-10-16 Thread Romuald Brunet
Change by Romuald Brunet : -- nosy: +Romuald ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17393] stdlib import mistaken for local by import_fixer

2014-02-03 Thread Cédric Krier
Changes by Cédric Krier cedric.kr...@b2ck.com: -- nosy: +ced ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17393 ___ ___ Python-bugs-list mailing

[issue17393] stdlib import mistaken for local by import_fixer

2013-03-11 Thread Lennart Regebro
Lennart Regebro added the comment: Not really, but they are related. The fixer looks for a local module, and if it finds it it will assume the import is local. #13317 is caused by it not finding the module, since it's not built and hence assuming it's a global import. This bug,

[issue17393] stdlib import mistaken for local by import_fixer

2013-03-10 Thread Lennart Regebro
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

[issue17393] stdlib import mistaken for local by import_fixer

2013-03-10 Thread Lennart Regebro
Changes by Lennart Regebro rege...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17393 ___ ___ Python-bugs-list

[issue17393] stdlib import mistaken for local by import_fixer

2013-03-10 Thread Éric Araujo
Éric Araujo added the comment: This is the cause for #13317 -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17393 ___ ___