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 belopolsky
Recipients alexandre.vassalotti, belopolsky, lemburg, mark.dickinson, pitrou
Date 2010-07-17.14:28:18
SpamBayes Score 0.00025906993
Marked as misclassified No
Message-id <1279376900.45.0.0932380222718.issue5180@psf.upfronthosting.co.za>
In-reply-to
Content
Alexandre,

I am not sure your change form PyObject_Size(args) to Py_SIZE(args) is correct.  As far as I can tell, args come from pickle machine stack without any type checks.  The equivalent code in 2.x cPickle uses PyObject_Size and checks for errors.  I'll try to come up with a test case for the error situation, but it is a bit tricky because pickle should be produced in 2.x in order for this function to be used.
History
Date User Action Args
2010-07-17 14:28:20belopolskysetrecipients: + belopolsky, lemburg, mark.dickinson, pitrou, alexandre.vassalotti
2010-07-17 14:28:20belopolskysetmessageid: <1279376900.45.0.0932380222718.issue5180@psf.upfronthosting.co.za>
2010-07-17 14:28:19belopolskylinkissue5180 messages
2010-07-17 14:28:18belopolskycreate