[Python-Dev] What letter should an UnsignedLongLong get

Gil Colgate gcolgate at gmail.com
Thu Mar 15 19:47:07 CET 2012


We use a lot of UnsignedLongLongs in our program (ids) and have been
parsing in PyArg_ParseTuple with 'K', which does not do error checking.
I am planning to add a new type to our local build of python for parsing
Unsigned Long Longs (64 bit numbers) that errrors if the number has more
than the correct number of bits.

I am thinking to use the letter 'N' for this purpose, since l,k,K,U,u are
all taken.

Does anyone have any better ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120315/a80543d5/attachment.html>


More information about the Python-Dev mailing list