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 _doublep
Recipients _doublep
Date 2008-01-20.17:40:56
SpamBayes Score 0.014225
Marked as misclassified No
Message-id <>
I have a regression from Python 2.5 to Python SVN (would-be-2.6).  I
believe this because of class attribute caching.  The problem shown
below happens because AbstractGCProtector is an extension class.  So,
Python interpreter doesn't have a chance to notice set_default() method
below changes a class attribute.

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

Please note that this a regression.  This code works as expected in 2.3
and 2.5.
Date User Action Args
2008-01-20 17:40:58_doublepsetspambayes_score: 0.014225 -> 0.014225
recipients: + _doublep
2008-01-20 17:40:58_doublepsetspambayes_score: 0.014225 -> 0.014225
messageid: <>
2008-01-20 17:40:57_doubleplinkissue1878 messages
2008-01-20 17:40:56_doublepcreate