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 Olivier.Grisel
Recipients Olivier.Grisel, pitrou, serhiy.storchaka
Date 2017-11-10.23:37:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510357058.96.0.213398074469.issue31993@psf.upfronthosting.co.za>
In-reply-to
Content
I have tried to implement the direct write bypass for the C version of the pickler but I get a segfault in a Py_INCREF on obj during the call to  memo_put(self, obj) after the call to _Pickler_write_large_bytes.

Here is the diff of my current version of the patch:

https://github.com/ogrisel/cpython/commit/4e093ad6993616a9f16e863b72bf2d2e37bc27b4

I am new to the Python C-API so I would appreciate some help on this one.
History
Date User Action Args
2017-11-10 23:37:38Olivier.Griselsetrecipients: + Olivier.Grisel, pitrou, serhiy.storchaka
2017-11-10 23:37:38Olivier.Griselsetmessageid: <1510357058.96.0.213398074469.issue31993@psf.upfronthosting.co.za>
2017-11-10 23:37:38Olivier.Grisellinkissue31993 messages
2017-11-10 23:37:38Olivier.Griselcreate