[New-bugs-announce] [issue41655] new Node may not visited in lib2to3.refactor.RefactoringTool.traverse_by

Chrome report at bugs.python.org
Fri Aug 28 09:32:14 EDT 2020


New submission from Chrome <expo.tao at 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 <report at bugs.python.org>
<https://bugs.python.org/issue41655>
_______________________________________


More information about the New-bugs-announce mailing list