[Python-Dev] cpython (3.3): Issue #17576: Deprecation warning emitted now when __int__() or __index__()
Nick Coghlan
ncoghlan at gmail.com
Thu Dec 12 00:46:05 CET 2013
On 12 Dec 2013 08:26, "Antoine Pitrou" <solipsis at pitrou.net> wrote:
>
> 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?
Oh, I missed that this was landed on multiple branches. In general, we try
to avoid doing that, but the ultimate decision rests with the release
manager (although in this case, I would suggest only making the change for
3.4).
>
> Regards
>
> Antoine.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20131212/cfcddc9a/attachment.html>
More information about the Python-Dev
mailing list