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/2010-October/104683.html below:

[Python-Dev] A new warning category?

[Python-Dev] A new warning category? [Python-Dev] A new warning category?Antoine Pitrou solipsis at pitrou.net
Thu Oct 14 11:53:47 CEST 2010
On Thu, 14 Oct 2010 11:25:39 +0200
Antoine Pitrou <solipsis at pitrou.net> wrote:
> 
> Hello,
> 
> In the http://bugs.python.org/issue10093 discussion, I proposed to add a
> specific warning category for unclosed files. The rationale is that
> these warnings will happen in destructors and therefore filtering by
> line number and filename doesn't make sense. So a new category would be
> useful in order to allow defining specific rules.
> Do you think it would go against the moratorium?

Come to think of it, another reason for a separate warning category is
that we problably want those disabled by default (unless we're running
in pydebug mode perhaps).

Regards

Antoine.


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