[Python-Dev] Deprecate PyNumber_Long? (original) (raw)
Brett Cannon brett at python.org
Fri Jan 16 23:42:06 CET 2009
- Previous message: [Python-Dev] Deprecate PyNumber_Long?
- Next message: [Python-Dev] Deprecate PyNumber_Long?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Jan 16, 2009 at 13:34, Mark Dickinson <dickinsm at gmail.com> wrote:
Now that all uses of nblong and long have disappeared from the 3.x codebase, would it make sense to mark PyNumberLong 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 PyNumberInt?
(The two functions behave identically: PyNumberInt is a macro that's #defined to expand to PyNumberLong.)
Assuming we have been moving the C API usage to PyInt and not PyLong, then yes it makes sense.
-Brett
- Previous message: [Python-Dev] Deprecate PyNumber_Long?
- Next message: [Python-Dev] Deprecate PyNumber_Long?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]