[Python-Dev] Deprecate PyNumber_Long?
Mark Dickinson
dickinsm at gmail.com
Fri Jan 16 22:34:05 CET 2009
Now that all uses of nb_long and __long__ have disappeared from
the 3.x codebase, would it make sense to mark PyNumber_Long
as deprecated in the c-api documentation, and convert all existing
uses (I count a grand total of 3 uses in the py3k branch!) to
PyNumber_Int?
(The two functions behave identically: PyNumber_Int is a macro
that's #defined to expand to PyNumber_Long.)
Mark
More information about the Python-Dev
mailing list