[New-bugs-announce] [issue7810] fix_callable breakage

Martin v. Löwis report at bugs.python.org
Sat Jan 30 13:53:43 CET 2010


New submission from Martin v. Löwis <martin at 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 <report at bugs.python.org>
<http://bugs.python.org/issue7810>
_______________________________________


More information about the New-bugs-announce mailing list