[Python-3000] C API cleanup int/long
Neal Norwitz
nnorwitz at gmail.com
Fri Aug 3 08:31:13 CEST 2007
On 8/2/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> 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.
Aside from the name, are there other issues you can think of with any
of the API changes? There are some small changes, things like macros
only having a function form. Are these a problem?
Str/unicode is going to be a big change. Any thoughts there?
n
More information about the Python-3000
mailing list