[Python-Dev] cpython (3.3): Issue #17576: Deprecation warning emitted now when __int__() or __index__()
Serhiy Storchaka
storchaka at gmail.com
Thu Dec 12 09:54:05 CET 2013
More information about the Python-Dev mailing list
Thu Dec 12 09:54:05 CET 2013
- Previous message: [Python-Dev] cpython (3.3): Issue #17576: Deprecation warning emitted now when __int__() or __index__()
- Next message: [Python-Dev] cpython (3.3): Issue #17576: Deprecation warning emitted now when __int__() or __index__()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
12.12.13 00:24, Antoine Pitrou написав(ла): > On Wed, 11 Dec 2013 20:28:19 +0100 (CET) > serhiy.storchaka <python-checkins at python.org> wrote: >> http://hg.python.org/cpython/rev/618cca51a27e >> changeset: 87899:618cca51a27e >> branch: 3.3 >> parent: 87896:46186736e91c >> user: Serhiy Storchaka <storchaka at gmail.com> >> date: Wed Dec 11 21:07:54 2013 +0200 >> summary: >> Issue #17576: Deprecation warning emitted now when __int__() or __index__() >> return not int instance. Introduced _PyLong_FromNbInt() and refactored >> PyLong_As*() functions. > > Is it ok to add deprecation warnings in bugfix versions? Some clarifications. This is a precursor of a bugfix. I split a patch on two parts for simplicity. First part doesn't change behavior besides introducing warnings. Second part is simple and will change behavior (I still doubt how many behavior it should change).
- Previous message: [Python-Dev] cpython (3.3): Issue #17576: Deprecation warning emitted now when __int__() or __index__()
- Next message: [Python-Dev] cpython (3.3): Issue #17576: Deprecation warning emitted now when __int__() or __index__()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list