[Python-checkins] python/dist/src/Doc/whatsnew whatsnew24.tex, 1.57, 1.58

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Sat Jul 3 21:44:07 EDT 2004


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25119

Modified Files:
	whatsnew24.tex 
Log Message:
Write another section

Index: whatsnew24.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** whatsnew24.tex	4 Jul 2004 01:26:42 -0000	1.57
--- whatsnew24.tex	4 Jul 2004 01:44:04 -0000	1.58
***************
*** 91,95 ****
  \section{PEP 237: Unifying Long Integers and Integers}
  
! XXX write this.
  
  %======================================================================
--- 91,113 ----
  \section{PEP 237: Unifying Long Integers and Integers}
  
! The lengthy transition process for the PEP, begun with Python 2.2,
! takes another step forward in Python 2.4.  In 2.3, certain integer
! operations that would behave differently after int/long unification
! triggered \exception{FutureWarning} warnings and returned values
! limited to 32 or 64 bits.  In 2.4, these expressions no longer produce
! a warning, but they now produce a different value that's a long
! integer.  
! 
! The problematic expressions are primarily left shifts and lengthy
! hexadecimal and octal constants.  For example, \code{2 << 32} is one
! expression that results in a warning in 2.3, evaluating to 0 on 32-bit
! platforms.  In Python 2.4, this expression now returns 8589934592.
! 
! 
! \begin{seealso}
! \seepep{237}{Unifying Long Integers and Integers}{Original PEP
! written by Moshe Zadka and Gvr.  The changes for 2.4 were implemented by 
! Kalle Svensson.}
! \end{seealso}
  
  %======================================================================




More information about the Python-checkins mailing list