Message157188
> - 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. |
|
Date |
User |
Action |
Args |
2012-03-31 13:35:27 | pitrou | set | recipients:
+ pitrou, jimjjewett, kristjan.jonsson, lehmannro, stutzbach, michael.foord, ebfe, asvetlov, Yury.Selivanov, Jim.Jewett |
2012-03-31 13:35:27 | pitrou | link | issue10576 messages |
2012-03-31 13:35:27 | pitrou | create | |
|