On Fri, Jan 16, 2009 at 13:34, Mark Dickinson <dicki...@gmail.com> wrote:
> 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.)

Assuming we have been moving the C API usage to PyInt and not PyLong,
then yes it makes sense.

-Brett
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to