> On Feb 8, 2016, at 06:40, Victor Stinner <victor.stinner at gmail.com> wrote: > > 2016-02-08 15:32 GMT+01:00 Victor Stinner <victor.stinner at gmail.com>: >> Since 3.3, functions of the os module started to emit >> DeprecationWarning when called with bytes filenames. >> (...) >> Recently, an user complained that os.walk() doesn't work with bytes on >> Windows anymore: >> (...) > > It's also sad to see that deprecation warnings are completly ignored. > Python 3.3 was release in 2011, 5 years ago. > > I would prefer to show deprecation warnings by default. But I know > that it's an old debate: developers vs users :-) I like to see my > users as potential developers ;-) This is tracked in this issue: http://bugs.python.org/issue24294 <http://bugs.python.org/issue24294> : DeprecationWarnings should be visible by default in the interactive REPL IPython have enabled them only if they come from __main__. From totally subjective experience, that has already pushed a few library to update their code to new apis[1]. -- M [1] or sometime to wrap code in ignore warnings... > > Victor > _______________________________________________ > 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/bussonniermatthias%40gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160208/ee0d33bf/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4