[issue4910] Remove uses of nb_long slot, and rename to nb_reserved.
Mark Dickinson
report at bugs.python.org
Thu Jan 15 20:21:29 CET 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
> I wonder if we should mark
> PyNumber_Long as deprecated in the docs, though.
It would be nice to standardize on one of (PyNumber_Long, PyNumber_Int)
and document the other as deprecated.
Maybe it would make more sense to stick with PyNumber_Long and deprecate
PyNumber_Int, though? It would make 2.x -> 3.x transitions easier, and
would be consistent with some of the rest of the API: we seem to be
using PyLong_Check in preference to PyInt_Check in current code...
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4910>
_______________________________________
More information about the Python-bugs-list
mailing list