[Python-3000] C API for ints and strings (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sun Sep 9 16:31:08 CEST 2007
- Previous message: [Python-3000] C API for ints and strings
- Next message: [Python-3000] patch: bytes object PyBUF_LOCKDATA read-only and immutable support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You could use PyLongAsByteArray. I'm scared by the underscore.
If that helps, feel free to submit a patch to remove the underscore, and document the function properly.
Regards, Martin
- Previous message: [Python-3000] C API for ints and strings
- Next message: [Python-3000] patch: bytes object PyBUF_LOCKDATA read-only and immutable support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]