[Python-Dev] Show DeprecationWarning in debug mode? (original) (raw)
Brett Cannon brett at python.org
Sat Nov 18 12:13:06 EST 2017
- Previous message (by thread): [Python-Dev] Show DeprecationWarning in debug mode?
- Next message (by thread): [Python-Dev] Show DeprecationWarning in debug mode?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
+1 from me as well.
On Sat, Nov 18, 2017, 02:36 Serhiy Storchaka, <storchaka at gmail.com> wrote:
18.11.17 03:22, Victor Stinner пише: > I noticed that Python not only hides DeprecationWarning, but also > PendingDeprecationWarning and ImportWarning by default. While I > understand why we decided to hide these warnings to users for a Python > compiled in release mode, why are they hidden in Python debug builds? > > I'm asking the question because in debug mode, Python shows > ResourceWarning warnings (whereas these warnings are hidden in release > mode). Why only displaying ResourceWarning, but not other warnings in > debug mode?
+1 for showing all warning (except maybe PendingDeprecationWarning) in the debug build! I constantly forgot about this.
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/brett%40python.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171118/56cdce20/attachment.html>
- Previous message (by thread): [Python-Dev] Show DeprecationWarning in debug mode?
- Next message (by thread): [Python-Dev] Show DeprecationWarning in debug mode?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]