[Python-Dev] Deprecation warning on integer shifts and such
Guido van Rossum
guido@python.org
Sun, 11 Aug 2002 22:58:17 -0400
> Presumably, by the time these actually become longs, the
> relevant Python/C API calls for converting Python ints to
> C ints will accept longs that are within range, so it
> shouldn't be an issue.
PyInt_AsLong() and the 'i' and 'l' format chars for PyArg_Parse*()
already do so -- and have done so for a long time.
--Guido van Rossum (home page: http://www.python.org/~guido/)