Ignore OverflowWarning by default. To enable the warning, use

python -Wdefault

or

	python -Wdefault::OverflowWarning
This commit is contained in:
Guido van Rossum 2001-08-23 03:07:42 +00:00
parent e27f795b72
commit acc21d8814

View file

@ -249,3 +249,4 @@ if __name__ == "__main__":
_test()
else:
_processoptions(sys.warnoptions)
filterwarnings("ignore", category=OverflowWarning, append=1)