[Python-3000] C API cleanup int/long

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 3 08:19:12 CEST 2007


Neal Norwitz wrote:
> Since there is a merged int/long type now, we need to decide how the C
> API should look.  For example, should the APIs be prefixed with
> PyInt_* or PyLong_?

I've always assumed it would be Py_Int*. If any
integer can be any length, it doesn't make sense
to have any length-related words in the names.

--
Greg


More information about the Python-3000 mailing list