[Python-checkins] python/nondist/peps pep-0237.txt,1.17,1.18
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Wed Aug 25 03:58:05 CEST 2004
Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20235/peps
Modified Files:
pep-0237.txt
Log Message:
Note that Python stopped generating OverflowWarning in 2.4, a release
after that was planned to occur.
Index: pep-0237.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0237.txt,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- pep-0237.txt 2 Dec 2003 01:22:50 -0000 1.17
+++ pep-0237.txt 25 Aug 2004 01:57:46 -0000 1.18
@@ -236,7 +236,13 @@
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.
More information about the Python-checkins
mailing list