Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5180>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to