[issue1170766] weakref.proxy incorrect behaviour

Armin Rigo report at bugs.python.org
Sat Aug 21 17:20:00 CEST 2010


Armin Rigo <arigo at users.sourceforge.net> added the comment:

All the missing type slots I reported can cause incorrect behavior very similar to the one reported originally.  For example (in Python 2.7):

    class I(int): pass
    i = I(123)
    hex(i)                   => '0x7b'
    hex(weakref.proxy(i))    => TypeError

I think that the present bug report is fine to report these as bugs, as I don't see the point of opening another bug report with the same title.  I will just re-mark this issue as "open - not resolved".

----------
resolution: accepted -> 
status: pending -> open

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


More information about the Python-bugs-list mailing list