From acc21d8814cf9f43c12052419cbb25e6570c6b32 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 23 Aug 2001 03:07:42 +0000 Subject: Ignore OverflowWarning by default. To enable the warning, use python -Wdefault or python -Wdefault::OverflowWarning --- Lib/warnings.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v0.12