[PyPy-issue] [issue516] Fix special method choice algorithm for old-style classes

Antoine P pypy-dev-issue at codespeak.net
Tue Mar 30 15:09:20 CEST 2010


New submission from Antoine P <pitrou at free.fr>:

exarkun pointed me to the following failure on the twisted pypy buildbot:

(from
http://buildbot.twistedmatrix.com/builders/ubuntu32-pypy/builds/144/steps/trial/logs/problems
)

===============================================================================
[FAIL]: twisted.python.test.test_util.EqualityTests.test_inheritedClassesEquality

Traceback (most recent call last):
  File
"/var/lib/buildbot/twisted-bigdogvm1/ubuntu32-pypy/build/Twisted-src/twisted/python/test/test_util.py",
line 578, in test_inheritedClassesEquality
    self.assertTrue(Record(1, 2) == DerivedRecord(1, 2))
twisted.trial.unittest.FailTest: None
===============================================================================
[FAIL]: twisted.python.test.test_util.EqualityTests.test_inheritedClassesInequality

Traceback (most recent call last):
  File
"/var/lib/buildbot/twisted-bigdogvm1/ubuntu32-pypy/build/Twisted-src/twisted/python/test/test_util.py",
line 590, in test_inheritedClassesInequality
    self.assertFalse(Record(1, 2) != DerivedRecord(1, 2))
twisted.trial.unittest.FailTest: None


Here is a patch.

----------
effort: ???
files: oldstyle-descr2.patch
messages: 1679
nosy: hpk, pitrou, pypy-issue
priority: bug
release: ???
status: in-progress
title: Fix special method choice algorithm for old-style classes

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue516>
_______________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oldstyle-descr2.patch
Type: text/x-diff
Size: 10413 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-issue/attachments/20100330/07658a76/attachment.patch>


More information about the Pypy-issue mailing list