[Python-Dev] builtin_id() returns negative numbers (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Feb 18 02:58:46 CET 2005


Tim Peters wrote:

Looks right to me -- cool! I never used struct's 'P' format because it always appeared useless to me: But silly me! I'm sure Guido put it there anticipating the need for calcsize('P') when making a positiveid() function in Python.

Smells like more time machine activity to me. Any minute now you'll find there's suddenly a positive_id() builtin that's been there ever since 1.3 or so. And the 'P' format, then always never having just become useful, will have unappeared...

-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg.ewing at canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list