]> granicus.if.org Git - python/commitdiff
Mention FutureWarning for large ints
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 6 Feb 2003 15:14:04 +0000 (15:14 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 6 Feb 2003 15:14:04 +0000 (15:14 +0000)
Doc/whatsnew/whatsnew23.tex

index a119a8fced073290edae7c5fe116633a15029a8d..3da9309e87ad16131ed1dc9656aae0a6f2f512fd 100644 (file)
@@ -2073,6 +2073,11 @@ objects are converted to their Python equivalent, if one exists, or
 wrapped with a \class{_tkinter.Tcl_Obj} object if no Python equivalent
 exists.
 
+\item Large octal and hex literals such as
+0xffffffff now trigger a \exception{FutureWarning} because currently
+they're stored as 32-bit numbers and result in a negative value, but
+in Python 2.4 they'll become positive long integers.  
+
 \item You can no longer disable assertions by assigning to \code{__debug__}.
 
 \item The Distutils \function{setup()} function has gained various new