Message270261
The buffer protocol is a low level C protocol, but even if it doesn't expose a specific python API, it's currently not possible to say "this object implements the buffer protocol" in Python
This might be useful for some applications, including PEP-484 typing hints. It would be useful to have a collections.abc.Buffer which already registers the types that already support the protocol (bytes, strings, array.array, struct, mmap, ctype arrays/pointers, etc) |
|
Date |
User |
Action |
Args |
2016-07-12 18:07:23 | Daniel Moisset | set | recipients:
+ Daniel Moisset |
2016-07-12 18:07:23 | Daniel Moisset | set | messageid: <1468346843.82.0.455431578723.issue27501@psf.upfronthosting.co.za> |
2016-07-12 18:07:23 | Daniel Moisset | link | issue27501 messages |
2016-07-12 18:07:23 | Daniel Moisset | create | |
|