A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/023315.html below:

[Python-Dev] DeprecationWarnings in the regression tests

[Python-Dev] DeprecationWarnings in the regression tests [Python-Dev] DeprecationWarnings in the regression testsTim Peters tim.one@comcast.net
Mon, 15 Apr 2002 20:26:36 -0400
[Guido]
> If you do that, side effects from _processoptions(), like warnings
> about incomprehensible -W options, are issued each time.
>
> I'd prefer it if you didn't try to call resetwarnings() at all.
> That's for the main() app only.

OK, but the base question still stands:  the resetwarnings docstring doesn't
match what the code does:  is it intended to clear all warning filters
(that's what it actually does), or return them to the default state (which
is what it says it does, and the state that's there when the module is first
imported is about the only way I can read "default").





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