Message306062
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. |
|
Date |
User |
Action |
Args |
2017-11-10 23:37:38 | Olivier.Grisel | set | recipients:
+ Olivier.Grisel, pitrou, serhiy.storchaka |
2017-11-10 23:37:38 | Olivier.Grisel | set | messageid: <1510357058.96.0.213398074469.issue31993@psf.upfronthosting.co.za> |
2017-11-10 23:37:38 | Olivier.Grisel | link | issue31993 messages |
2017-11-10 23:37:38 | Olivier.Grisel | create | |
|