Message129678
Looking at the example of _struct.c, I'll withdraw my objection to the patch. The segfault is due to the attempt to destroy a statically allocated type object, and the only viable solution to that is to ensure the reference count never drops to 0, even during Py_Finalize.
I also created issue11349 to cover the fact that _pickle really shouldn't be stashing things in static globals now that a better alternative is available. |
|
Date |
User |
Action |
Args |
2011-02-28 01:31:20 | ncoghlan | set | recipients:
+ ncoghlan, loewis, brett.cannon, amaury.forgeotdarc, pitrou, alexandre.vassalotti, Trundle, palm.kevin |
2011-02-28 01:31:20 | ncoghlan | set | messageid: <1298856680.19.0.320187425576.issue11321@psf.upfronthosting.co.za> |
2011-02-28 01:31:16 | ncoghlan | link | issue11321 messages |
2011-02-28 01:31:16 | ncoghlan | create | |
|