Message306092
| Author | pitrou |
|---|---|
| Recipients | Olivier.Grisel, pitrou, serhiy.storchaka |
| Date | 2017-11-11.18:32:13 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1510425133.15.0.213398074469.issue31993@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> I would like to update the `write_utf8` function but I would need to find a way to wrap `const char* data` as a PyBytes instance without making a memory copy to be able to pass it to my `_Pickle_write_large_bytes`. You should pass it as a memoryview instead: https://docs.python.org/3/c-api/memoryview.html#c.PyMemoryView_FromMemory |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-11-11 18:32:13 | pitrou | set | recipients: + pitrou, serhiy.storchaka, Olivier.Grisel |
| 2017-11-11 18:32:13 | pitrou | set | messageid: <1510425133.15.0.213398074469.issue31993@psf.upfronthosting.co.za> |
| 2017-11-11 18:32:13 | pitrou | link | issue31993 messages |
| 2017-11-11 18:32:13 | pitrou | create | |