A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-January/085107.html below:

[Python-Dev] Deprecate PyNumber_Long?

[Python-Dev] Deprecate PyNumber_Long? [Python-Dev] Deprecate PyNumber_Long?Brett Cannon brett at python.org
Fri Jan 16 23:42:06 CET 2009
On Fri, Jan 16, 2009 at 13:34, Mark Dickinson <dickinsm at 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4