[issue6899] Base.replace breaks tree

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 _

[issue6899] Base.replace breaks tree

2020-11-10 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue6899] Base.replace breaks tree

2010-01-30 Thread Meador Inge
Meador Inge added the comment: I updated the patch with a few unit tests: euclid:trunk minge$ ./python.exe Lib/test/test_lib2to3.py ... == FAIL: test_replace (lib2to3.tests.test_pytree.TestNodes) -

[issue6899] Base.replace breaks tree

2009-09-13 Thread Martin v . Löwis
New submission from Martin v. Löwis : In Base.replace, the method checks that self.parent is not None - however, it (unfortunately), breaks this very property itself if self is new, or self in new. In particular, some fixers return node from transform if they don't want to do anything. In tha

[issue6899] Base.replace breaks tree

2009-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: Looks good, but it needs some tests. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Pytho

[issue6899] Base.replace breaks tree

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue6899] Base.replace breaks tree

2011-11-29 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu