From: A.M. K. <aku...@us...> - 2001-09-10 16:18:53
|
Update of /cvsroot/py-howto/pyhowto In directory usw-pr-cvs1:/tmp/cvs-serv12519 Modified Files: python-22.tex Log Message: Remove some XXX markers Update the patch and bug counts Index: python-22.tex =================================================================== RCS file: /cvsroot/py-howto/pyhowto/python-22.tex,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -r1.27 -r1.28 *** python-22.tex 2001/09/10 03:20:53 1.27 --- python-22.tex 2001/09/10 16:18:50 1.28 *************** *** 45,54 **** \section{PEP 252: Type and Class Changes} ! XXX - I need to read and digest the relevant PEPs. - - GvR's description at http://www.python.org/2.2/descrintro.html - \begin{seealso} --- 45,50 ---- \section{PEP 252: Type and Class Changes} ! XXX I need to read and digest the relevant PEPs. \begin{seealso} *************** *** 56,59 **** --- 52,58 ---- by Guido van Rossum.} + \seeurl{http://www.python.org/2.2/descrintro.html}{A tutorial + on the type/class changes in 2.2.} + \end{seealso} *************** *** 355,359 **** However, there were various bits of Python that expected plain integers and would raise an error if a long integer was provided ! instead. For example, in version XXX of Python, only regular integers could be used as a slice index, and \code{'abc'[1L:]} would raise a \exception{TypeError} exception with the message 'slice index must be --- 354,358 ---- However, there were various bits of Python that expected plain integers and would raise an error if a long integer was provided ! instead. For example, in Python 1.5, only regular integers could be used as a slice index, and \code{'abc'[1L:]} would raise a \exception{TypeError} exception with the message 'slice index must be *************** *** 370,376 **** \begin{verbatim} >>> 1234567890123 ! XXX ! >>> 2 ** 32 ! XXX put output here \end{verbatim} --- 369,375 ---- \begin{verbatim} >>> 1234567890123 ! 1234567890123L ! >>> 2 ** 64 ! 18446744073709551616L \end{verbatim} *************** *** 715,719 **** parsed. (Contributed by Fred L. Drake, Jr.) ! \item XXX threading.Timer class \end{itemize} --- 714,720 ---- parsed. (Contributed by Fred L. Drake, Jr.) ! \item A \class{Timer} class was added to the \module{threading} ! module that allows scheduling an activity to happen at some future ! time. (Contributed by Itamar Shtull-Trauring.) \end{itemize} *************** *** 759,764 **** which assumes that 8-bit strings are in Python's default ASCII encoding and converts them to the specified new encoding. ! (Contributed by M.-A. Lemburg, and used for the MBCS support on ! Windows described in the previous section.) \item Two new flags \constant{METH_NOARGS} and \constant{METH_O} are --- 760,764 ---- which assumes that 8-bit strings are in Python's default ASCII encoding and converts them to the specified new encoding. ! (Contributed by M.-A. Lemburg.) \item Two new flags \constant{METH_NOARGS} and \constant{METH_O} are *************** *** 789,793 **** As usual there were a bunch of other improvements and bugfixes scattered throughout the source tree. A search through the CVS change ! logs finds there were 43 patches applied, and 77 bugs fixed; both figures are likely to be underestimates. Some of the more notable changes are: --- 789,793 ---- As usual there were a bunch of other improvements and bugfixes scattered throughout the source tree. A search through the CVS change ! logs finds there were 119 patches applied, and 179 bugs fixed; both figures are likely to be underestimates. Some of the more notable changes are: *************** *** 855,862 **** choice of ASCII as the default encoding turns out to be an annoyance. - (Contributed by Mark Hammond with assistance from Marc-Andr\'e Lemburg.) \item The \file{Tools/scripts/ftpmirror.py} script now parses a \file{.netrc} file, if you have one. --- 855,864 ---- choice of ASCII as the default encoding turns out to be an annoyance. (Contributed by Mark Hammond with assistance from Marc-Andr\'e Lemburg.) + \item Large file support is now enabled on Windows. (Contributed by + Tim Peters.) + \item The \file{Tools/scripts/ftpmirror.py} script now parses a \file{.netrc} file, if you have one. *************** *** 909,913 **** this is never useful for floating point numbers, and the final result varies unpredictably depending on the platform. A call such ! as \code{pow(2.0, 8.0, 7.0)} will now raise a \exception{XXX} exception. --- 911,915 ---- this is never useful for floating point numbers, and the final result varies unpredictably depending on the platform. A call such ! as \code{pow(2.0, 8.0, 7.0)} will now raise a \exception{TypeError} exception. |