[issue12544] Avoid using a pseudo-dict for _type_equality_funcs in unittest

Martin report at bugs.python.org
Wed Jul 13 02:05:54 CEST 2011


New submission from Martin <gzlist at googlemail.com>:

The fix for issue 10326 landing on Python 2.7 trunk has interfered with a hack I wrote in Bazaar to break the reference cycles the private `unittest.TestCase._type_equality_funcs` member creates.

As the change to make pickling work is nearly enough to avoid the test and the dict referencing each other, it would be good to remove that breakage and the need for the hack in the first place.

Downstream bug:

<https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/809048>

----------
components: Library (Lib)
messages: 140217
nosy: MarkRoddy, gz, michael.foord
priority: normal
severity: normal
status: open
title: Avoid using a pseudo-dict for _type_equality_funcs in unittest
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12544>
_______________________________________


More information about the Python-bugs-list mailing list