[Python-Dev] What letter should an UnsignedLongLong get
Nadeem Vawda
nadeem.vawda at gmail.com
Thu Mar 15 20:02:44 CET 2012
More information about the Python-Dev mailing list
Thu Mar 15 20:02:44 CET 2012
- Previous message: [Python-Dev] What letter should an UnsignedLongLong get
- Next message: [Python-Dev] What letter should an UnsignedLongLong get
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The lzma module ran into a similar issue with 32-bit unsigned ints.
I worked around it by writing a custom converter function to use
with the "O&" code.
You can find the converter definition here:
http://hg.python.org/cpython/file/default/Modules/_lzmamodule.c#l134
And an example usage here:
http://hg.python.org/cpython/file/default/Modules/_lzmamodule.c#l261
Cheers,
Nadeem
- Previous message: [Python-Dev] What letter should an UnsignedLongLong get
- Next message: [Python-Dev] What letter should an UnsignedLongLong get
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list