Mark Dickinson <dicki...@gmail.com> added the comment: Here's a patch that deprecates PyNumber_Int in favour of PyNumber_Long:
- move PyNumber_Int definition from abstract.h to intobject.h (and fix up comments at the top of intobject.h) - mark PyNumber_Int as deprecated in the c-api docs, with a promise to remove it for 3.1. I suppose that in theory this goes too far: we should really deprecate in 3.1 and remove in 3.2. But given all the other stuff that's going on for 3.0.1, this doesn't seem too bad. Benjamin, what do you think? N.B. We should remember to actually remove intobject.h for 3.1. :) Added file: http://bugs.python.org/file12781/issue4910_4.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4910> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com