[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.17,1.18

akuchling@users.sourceforge.net akuchling@users.sourceforge.net
2002年5月29日 10:30:37 -0700


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory usw-pr-cvs1:/tmp/cvs-serv4117
Modified Files:
	whatsnew23.tex 
Log Message:
More additions
Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** whatsnew23.tex	29 May 2002 15:54:55 -0000	1.17
--- whatsnew23.tex	29 May 2002 17:30:34 -0000	1.18
***************
*** 6,10 ****
 
 \title{What's New in Python 2.3}
! \release{0.01}
 \author{A.M. Kuchling}
 \authoraddress{\email{akuchlin@mems-exchange.org}}
--- 6,10 ----
 
 \title{What's New in Python 2.3}
! \release{0.02}
 \author{A.M. Kuchling}
 \authoraddress{\email{akuchlin@mems-exchange.org}}
***************
*** 507,510 ****
--- 507,512 ----
 \end{verbatim}
 
+ (Contributed by Raymond Hettinger.)
+ 
 \item Two new functions in the \module{math} module, 
 \function{degrees(\var{rads})} and \function{radians(\var{degs})},
***************
*** 583,603 ****
 measurement.
 
! \item XXX Introduce two new flag bits that can be set in a PyMethodDef method
! descriptor, as used for the tp_methods slot of a type. These new flag
! bits are both optional, and mutually exclusive. Most methods will not
! use either. These flags are used to create special method types which
! exist in the same namespace as normal methods without having to use
! tedious construction code to insert the new special method objects in
! the type's tp_dict after PyType_Ready() has been called.
! 
! If METH_CLASS is specified, the method will represent a class method
! like that returned by the classmethod() built-in.
! 
! If METH_STATIC is specified, the method will represent a static method
! like that returned by the staticmethod() built-in.
! 
! These flags may not be used in the PyMethodDef table for modules since
! these special method types are not meaningful in that case; a
! ValueError will be raised if these flags are found in that context.
 
 \end{itemize}
--- 585,592 ----
 measurement.
 
! \item It's now possible to define class and static methods for a C
! extension type by setting either the \constant{METH_CLASS} or
! \constant{METH_STATIC} flags in a method's \ctype{PyMethodDef}
! structure.
 
 \end{itemize}
***************
*** 605,620 ****
 \subsection{Port-Specific Changes}
 
 XXX write this
 
 XXX OS/2 EMX port
 
! XXX MacOS: Weaklink most toolbox modules, improving backward
! compatibility. Modules will no longer fail to load if a single routine
! is missing on the curent OS version, in stead calling the missing
! routine will raise an exception. Should finally fix 531398. 2.2.1
! candidate. Also blacklisted some constants with definitions that
! were not Python-compatible.
 
! XXX Checked in Sean Reifschneider's RPM spec file and patches.
 
 
--- 594,610 ----
 \subsection{Port-Specific Changes}
 
+ 
 XXX write this
 
 XXX OS/2 EMX port
 
! On MacOS, most toolbox modules have been weaklinked to improve
! backward compatibility. This means that modules will no longer fail
! to load if a single routine is missing on the curent OS version.
! Instead calling the missing routine will raise an exception. 
 
! Sean Reifschneider contributed an updated RPM spec file that can be
! found in the \file{Misc/RPM/} directory in the Python source
! distribution.
 
 

AltStyle によって変換されたページ (->オリジナル) /