A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-November/150611.html below:

[Python-Dev] Show DeprecationWarning in debug mode?

[Python-Dev] Show DeprecationWarning in debug mode? [Python-Dev] Show DeprecationWarning in debug mode?Serhiy Storchaka storchaka at gmail.com
Sat Nov 18 02:33:39 EST 2017
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.

More information about the Python-Dev mailing list

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