Record pronouncement about trailing 'L' on hex/oct output.

This commit is contained in:
Tim Peters 2006-06-12 19:13:38 +00:00
parent 0ee269ce09
commit 922b00c2ee
1 changed files with 8 additions and 0 deletions

View File

@ -207,6 +207,7 @@ Transition
C. The trailing 'L' is dropped from repr(), and made illegal on C. The trailing 'L' is dropped from repr(), and made illegal on
input. (If possible, the 'long' type completely disappears.) 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. Phase A will be implemented in Python 2.2.
@ -315,6 +316,13 @@ Resolved Issues
These issues, previously open, have been resolved. 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 - What to do about sys.maxint? Leave it in, since it is still
relevant whenever the distinction between short and long ints is relevant whenever the distinction between short and long ints is
still relevant (e.g. when inspecting the type of a value). still relevant (e.g. when inspecting the type of a value).