Paul Pogonyshev added the comment:

OK, here it is:

>>> from notify.all import *
>>> original_protector = AbstractGCProtector.default
>>> new_protector = FastGCProtector ()
>>> AbstractGCProtector.set_default (new_protector)
>>> AbstractGCProtector.default is new_protector
False
>>> AbstractGCProtector.default is original_protector
True

It seems that this behaviour is somewhat random.  Sometimes the
False/True lines are reversed, as expected.  I.e. it seems that
attribute cache is sometimes recomputed...

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1878>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to