classification
Title: lib2to3.fixes.fix_import: support imports_as_name in traverse_imports
Type: Stage: patch review
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: BTaskaya, benjamin.peterson
Priority: normal Keywords: patch

Created on 2020-01-10 17:16 by BTaskaya, last changed 2020-01-12 17:32 by BTaskaya.

Pull Requests
URL Status Linked Edit
PR 17944 open BTaskaya, 2020-01-10 17:24
Messages (1)
msg359742 - (view) Author: Batuhan (BTaskaya) * Date: 2020-01-10 17:16
I've been working on custom lib2to3 fixers and I use some of the already definied utilites inside the fixers. But traverse_imports can't traverse from import names, which is pretty simple and straight forward to implement.
History
Date User Action Args
2020-01-12 17:32:07BTaskayasetnosy: + benjamin.peterson
2020-01-12 17:31:57BTaskayasetcomponents: + 2to3 (2.x to 3.x conversion tool)
versions: + Python 3.9
2020-01-10 17:24:28BTaskayasetkeywords: + patch
stage: patch review
pull_requests: + pull_request17352
2020-01-10 17:16:47BTaskayacreate