> Since "integers" can now have arbitrary precision and can represent > large unsigned values, can you add three new format characters to > PyArg_ParseTuple() and Py_BuildValue() for the C datatypes "unsigned int", > "unsigned long", and "unsigned long long"? > > The "u" and "l" namespace is a little crowded (and I don't think you > would want to break that). However, here's one idea: > > 'I' - unsigned int (consistent with H and B) > 'p' - unsigned long ('p' is for positive) > 'P' - unsigned long long Good idea. I've added this to the SF bug tracker as a feature request. Hopefully someone will submit a patch too! --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4