New submission from Chrome <expo....@gmail.com>:
`lib2to3.refactor.RefactoringTool.traverse_by` do a pre-order or post-order, and apply every candidate fixer to each node when traverse the tree. when a prior fixer add a new node that contains children, these children won't be visited by posterior fixers. ---------- components: 2to3 (2.x to 3.x conversion tool) messages: 376035 nosy: chrome priority: normal severity: normal status: open title: new Node may not visited in lib2to3.refactor.RefactoringTool.traverse_by type: behavior versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41655> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com