This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: fix_callable breakage
Type: Stage:
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, loewis
Priority: normal Keywords:

Created on 2010-01-30 12:53 by loewis, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
a.py loewis, 2010-01-30 12:53
Messages (2)
msg98561 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-01-30 12:53
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.
msg98568 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-01-30 16:36
This should be fixed as of r77855 and r77856.
History
Date User Action Args
2022-04-11 14:56:57adminsetgithub: 52058
2010-01-30 16:36:09benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg98568

resolution: fixed
2010-01-30 12:53:41loewiscreate