[Python-ideas] Show deprecation warnings in the interactive interpreter
Giampaolo Rodola'
g.rodola at gmail.com
Tue Mar 3 01:46:51 CET 2015
On Wed, Feb 25, 2015 at 8:51 AM, Serhiy Storchaka <storchaka at gmail.com>
wrote:
> What you are think about turning deprecation warnings on by default in the
> interactive interpreter?
>
> Deprecation warnings are silent by default because they just annoys end
> user that uses old Python program with new Python. End user usually is not
> a programmer and can't do something with warnings. But in the interactive
> interpreter the user is the author of executed code and can avoid to use
> deprecated functions if warned.
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
Am I the only one thinking that disabling deprecation warnings by default
(2.6?) was a bad idea?
It's particularly counterproductive for library vendors and their users
because the latters have no visibility of what APIs are going to be
removed: they will just wake up one day, upgrade to the next major version
of their favorite lib and have their code broken.
--
Giampaolo - http://grodola.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150303/f346b02d/attachment-0001.html>
More information about the Python-ideas
mailing list