diff options
author | Guido van Rossum <guido@python.org> | 2001-08-23 03:07:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-23 03:07:42 (GMT) |
commit | acc21d8814cf9f43c12052419cbb25e6570c6b32 (patch) | |
tree | 612c04036b51a5b944945042074b368c6a2d6956 /Lib | |
parent | e27f795b72c11e18e1e28e939e4713992d4f6189 (diff) | |
download | cpython-acc21d8814cf9f43c12052419cbb25e6570c6b32.zip cpython-acc21d8814cf9f43c12052419cbb25e6570c6b32.tar.gz cpython-acc21d8814cf9f43c12052419cbb25e6570c6b32.tar.bz2 |
Ignore OverflowWarning by default. To enable the warning, use
python -Wdefault
or
python -Wdefault::OverflowWarning
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/warnings.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/warnings.py b/Lib/warnings.py index 243f215..ea68e4c 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py @@ -249,3 +249,4 @@ if __name__ == "__main__": _test() else: _processoptions(sys.warnoptions) + filterwarnings("ignore", category=OverflowWarning, append=1) |