This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andrea.corbellini
Recipients andrea.corbellini, georg.brandl, kristjan.jonsson, pitrou, ysj.ray
Date 2010-07-29.16:32:53
SpamBayes Score 0.004085635
Marked as misclassified No
Message-id <1280421175.79.0.0974523388682.issue9417@psf.upfronthosting.co.za>
In-reply-to
Content
This is an unwanted an unexpected behavior, so this is a bug by definition. If it's not easy to fix, it's a different matter.

However here's a proposed solution:

* for the __mro__: instead of using a tuple, use a new object that inherits from it. This new object should use weak reference for the first item and should return the real object (if available) only in __getitem__().

* __objclass__ can should become a property based on weak references.
History
Date User Action Args
2010-07-29 16:32:55andrea.corbellinisetrecipients: + andrea.corbellini, georg.brandl, pitrou, kristjan.jonsson, ysj.ray
2010-07-29 16:32:55andrea.corbellinisetmessageid: <1280421175.79.0.0974523388682.issue9417@psf.upfronthosting.co.za>
2010-07-29 16:32:53andrea.corbellinilinkissue9417 messages
2010-07-29 16:32:53andrea.corbellinicreate