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 pitrou
Recipients Jim.Jewett, Yury.Selivanov, asvetlov, ebfe, jimjjewett, kristjan.jonsson, lehmannro, michael.foord, pitrou, stutzbach
Date 2012-03-31.13:35:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333200625.3494.0.camel@localhost.localdomain>
In-reply-to <1333200462.82.0.975356660031.issue10576@psf.upfronthosting.co.za>
Content
> - gc.callbacks is a simple module attribute.  Anyone can set it to
> anything else, e.g. gc.callbacks=None.  We have to accomodate this
> possibility or else introduce annoying api functions to edit the list.
> I thought it best to do things similarly to sys.import_hooks etc,
> simply expose a list object and trust the user to treat this list
> object with care, but check it regardless to avoid crashing.

The way I read it, you don't fetch it from the module dictionary,
though, you just use the static C variable, which shouldn't change when
the dict is mutated.
History
Date User Action Args
2012-03-31 13:35:27pitrousetrecipients: + pitrou, jimjjewett, kristjan.jonsson, lehmannro, stutzbach, michael.foord, ebfe, asvetlov, Yury.Selivanov, Jim.Jewett
2012-03-31 13:35:27pitroulinkissue10576 messages
2012-03-31 13:35:27pitroucreate