Georg Brandl added the comment:
Duplicate of #1170766 -- the lack of tp_richcompare support is reported among
other missing slots there.
--
nosy: +georg.brandl
resolution: -> duplicate
status: open -> closed
superseder: -> weakref.proxy incorrect behaviour
__
Terry J. Reedy added the comment:
This is definitely not a critical fix for 2.6 ;-)
The weakref.proxy doc says nothing about comparisons:
"weakref.proxy(object[, callback])
Return a proxy to object which uses a weak reference. This supports use of the
proxy in most contexts instead of requir
New submission from Mark Dickinson :
Nicholas Cole noted on python-list that the behaviour of weakref.proxy with
respect to equality changed between 2.x and 3.x:
Python 2.7 (r27:82500, Aug 15 2010, 14:21:15)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or