New submission from Martin v. Löwis <mar...@v.loewis.de>: For the attached script, 2to3 reports File "/tmp/lib/python3.1/lib2to3/pytree.py", line 135, in replace assert self.parent is not None, str(self) AssertionError: def a(self): pass
This was originally discovered for twisted/trial/test/test_pyunitcompat.py. ---------- components: 2to3 (2.x to 3.0 conversion tool) files: a.py messages: 98561 nosy: loewis severity: normal status: open title: fix_callable breakage versions: Python 3.1 Added file: http://bugs.python.org/file16056/a.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7810> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com