From e42649dc7a545910dca80baff9a034aa166633ef Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 25 Aug 2004 01:57:46 +0000 Subject: [PATCH] Note that Python stopped generating OverflowWarning in 2.4, a release after that was planned to occur. --- pep-0237.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pep-0237.txt b/pep-0237.txt index 9c584073e..5c1c0c58a 100644 --- a/pep-0237.txt +++ b/pep-0237.txt @@ -236,7 +236,13 @@ OverflowWarning Here are the rules that guide warnings generated in situations that currently raise OverflowError. This applies to transition - phase A. + phase A. Historical note: despite that phase A was completed in + Python 2.2, and phase B0 in Python 2.3, nobody noticed that + OverflowWarning was still generated in Python 2.3. It was finally + disabled in Python 2.4. The Python builtin OverflowWarning, and + the corresponding C API PyExc_OverflowWarning, are no longer + generated or used in Python 2.4, but will remain for the (unlikely) + case of user code until Python 2.5. - A new warning category is introduced, OverflowWarning. This is a built-in name.