mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Ignore OverflowWarning by default. To enable the warning, use
python -Wdefault or python -Wdefault::OverflowWarning
This commit is contained in:
parent
e27f795b72
commit
acc21d8814
1 changed files with 1 additions and 0 deletions
|
@ -249,3 +249,4 @@ if __name__ == "__main__":
|
|||
_test()
|
||||
else:
|
||||
_processoptions(sys.warnoptions)
|
||||
filterwarnings("ignore", category=OverflowWarning, append=1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue