[Python-Dev] What letter should an UnsignedLongLong get
Benjamin Peterson
benjamin at python.org
Thu Mar 15 19:56:01 CET 2012
More information about the Python-Dev mailing list
Thu Mar 15 19:56:01 CET 2012
- Previous message: [Python-Dev] What letter should an UnsignedLongLong get
- Next message: [Python-Dev] PEP 405 (built-in virtualenv) status
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2012/3/15 Gil Colgate <gcolgate at gmail.com>: > I must be using a different version of python, (3.2), I don't see that one > in use. Do you have a different suggestion? It's not used in PyArg_Parse*, but it is for Py_BuildValue. Adding it to PyArg_Parse could create confusion. > > On Thu, Mar 15, 2012 at 11:49 AM, Benjamin Peterson <benjamin at python.org> > wrote: >> >> 2012/3/15 Gil Colgate <gcolgate at gmail.com>: >> > 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. >> >> Unfortunately, the would conflict with Py_BuildValue's 'N'. >> >> >> >> -- >> Regards, >> Benjamin > > -- Regards, Benjamin
- Previous message: [Python-Dev] What letter should an UnsignedLongLong get
- Next message: [Python-Dev] PEP 405 (built-in virtualenv) status
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list