Stop producing or using OverflowWarning. PEP 237 thought this would

happen in 2.3, but nobody noticed it still was getting generated (the
warning was disabled by default).  OverflowWarning and
PyExc_OverflowWarning should be removed for 2.5, and left notes all over
saying so.
This commit is contained in:
Tim Peters 2004-08-25 02:14:08 +00:00
parent 1fa040ba73
commit c885443479
8 changed files with 25 additions and 45 deletions

View file

@ -44,6 +44,7 @@ class TestModule(unittest.TestCase):
def test_warn_specific_category(self):
text = 'None'
# XXX OverflowWarning should go away for Python 2.5.
for category in [DeprecationWarning, FutureWarning, OverflowWarning,
PendingDeprecationWarning, RuntimeWarning,
SyntaxWarning, UserWarning, Warning]: