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 Trundle
Recipients Trundle, alexandre.vassalotti, brett.cannon, ncoghlan, palm.kevin, pitrou
Date 2011-02-27.14:03:34
SpamBayes Score 5.1851395e-05
Marked as misclassified No
Message-id <1298815417.28.0.317906800499.issue11321@psf.upfronthosting.co.za>
In-reply-to
Content
It's because the _pickle module doesn't incref Pickler_Type and Unpickler_Type before calling `PyModule_AddObject()` (which steals a reference).

The attached patch fixes the issue.
History
Date User Action Args
2011-02-27 14:03:37Trundlesetrecipients: + Trundle, brett.cannon, ncoghlan, pitrou, alexandre.vassalotti, palm.kevin
2011-02-27 14:03:37Trundlesetmessageid: <1298815417.28.0.317906800499.issue11321@psf.upfronthosting.co.za>
2011-02-27 14:03:35Trundlelinkissue11321 messages
2011-02-27 14:03:35Trundlecreate