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 Mathew M.
Recipients Mathew M.
Date 2017-11-13.05:08:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510549714.44.0.213398074469.issue32013@psf.upfronthosting.co.za>
In-reply-to
Content
Hey there! I'm fairly new to the development process for Python, so I figured I'd start off with something tiny and then work on up from there. I'm not sure if this sort of minor fix warrants an issue being created, but I made this just to err on the safe side of things.

So, as far as I understand (by all means correct me if I'm wrong), a 'Py_DECREF(key);' should be present before the return in the conditional within fast_save_enter() (https://github.com/python/cpython/blob/d7d4fea4a39da4bfdea1de22fe040023eb4ddc17/Modules/_pickle.c#L1792)
History
Date User Action Args
2017-11-13 05:08:34Mathew M.setrecipients: + Mathew M.
2017-11-13 05:08:34Mathew M.setmessageid: <1510549714.44.0.213398074469.issue32013@psf.upfronthosting.co.za>
2017-11-13 05:08:34Mathew M.linkissue32013 messages
2017-11-13 05:08:33Mathew M.create