[Python-checkins] r46896 - peps/trunk/pep-0237.txt
tim.peters
python-checkins at python.org
Mon Jun 12 21:13:41 CEST 2006
Author: tim.peters
Date: Mon Jun 12 21:13:38 2006
New Revision: 46896
Modified:
peps/trunk/pep-0237.txt
Log:
Record pronouncement about trailing 'L' on hex/oct output.
Modified: peps/trunk/pep-0237.txt
==============================================================================
--- peps/trunk/pep-0237.txt (original)
+++ peps/trunk/pep-0237.txt Mon Jun 12 21:13:38 2006
@@ -207,6 +207,7 @@
C. The trailing 'L' is dropped from repr(), and made illegal on
input. (If possible, the 'long' type completely disappears.)
+ The trailing 'L' is also dropped from hex() and oct().
Phase A will be implemented in Python 2.2.
@@ -315,6 +316,13 @@
These issues, previously open, have been resolved.
+ - hex() and oct() applied to longs will continue to produce a
+ trailing 'L' until Python 3000. The original text above wasn't
+ clear about this, but since it didn't happen in Python 2.4 it
+ was thought better to leave it alone. BDFL pronouncement here:
+
+ http://mail.python.org/pipermail/python-dev/2006-June/065918.html
+
- What to do about sys.maxint? Leave it in, since it is still
relevant whenever the distinction between short and long ints is
still relevant (e.g. when inspecting the type of a value).
More information about the Python-checkins
mailing list