Message263425
> Note that there is alternative API function PyObject_Bytes(), that accepts same arguments as the bytes() constructor, except an integer, and supports the buffer protocol, the iterable protocol, and in additional supports the __bytes__() special method.
That's a good point. Then I think PyBytes_FromObject() should be restricted. Also the docs for these functions should probably mention each other. |
|
Date |
User |
Action |
Args |
2016-04-14 18:29:35 | pitrou | set | recipients:
+ pitrou, vstinner, martin.panter, serhiy.storchaka |
2016-04-14 18:29:35 | pitrou | set | messageid: <1460658575.52.0.327148701143.issue26759@psf.upfronthosting.co.za> |
2016-04-14 18:29:35 | pitrou | link | issue26759 messages |
2016-04-14 18:29:35 | pitrou | create | |
|