[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

2011-11-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6899 ___

[issue6899] Base.replace breaks tree

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - patch review type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6899 ___

[issue6899] Base.replace breaks tree

2010-01-30 Thread Meador Inge
Meador Inge mead...@gmail.com 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 mar...@v.loewis.de: 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

[issue6899] Base.replace breaks tree

2009-09-13 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Looks good, but it needs some tests. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6899 ___