Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80fd785

Browse files
committed
Mention FutureWarning for large ints
1 parent ba37524 commit 80fd785

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/whatsnew/whatsnew23.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,6 +2073,11 @@ \section{Porting to Python 2.3}
20732073
wrapped with a \class{_tkinter.Tcl_Obj} object if no Python equivalent
20742074
exists.
20752075

2076+
\item Large octal and hex literals such as
2077+
0xffffffff now trigger a \exception{FutureWarning} because currently
2078+
they're stored as 32-bit numbers and result in a negative value, but
2079+
in Python 2.4 they'll become positive long integers.
2080+
20762081
\item You can no longer disable assertions by assigning to \code{__debug__}.
20772082

20782083
\item The Distutils \function{setup()} function has gained various new

0 commit comments

Comments
 (0)