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

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Sun Jul 4 11:35:35 EDT 2004


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

Modified Files:
	whatsnew24.tex 
Log Message:
More additions

Index: whatsnew24.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -d -r1.58 -r1.59
*** whatsnew24.tex	4 Jul 2004 01:44:04 -0000	1.58
--- whatsnew24.tex	4 Jul 2004 15:35:00 -0000	1.59
***************
*** 7,10 ****
--- 7,13 ----
  % to be covered.  --amk
  
+ % XXX pydoc can display links to module docs -- but when?
+ % 
+ 
  \title{What's New in Python 2.4}
  \release{0.0}
***************
*** 443,447 ****
  \item The \method{dict.update()} method now accepts the same
  argument forms as the \class{dict} constructor.  This includes any
! mapping, any iterable of key/value pairs, and/or keyword arguments.       
  
  \item The string methods, \method{ljust()}, \method{rjust()}, and
--- 446,450 ----
  \item The \method{dict.update()} method now accepts the same
  argument forms as the \class{dict} constructor.  This includes any
! mapping, any iterable of key/value pairs, and keyword arguments.       
  
  \item The string methods, \method{ljust()}, \method{rjust()}, and
***************
*** 548,551 ****
--- 551,558 ----
  \end{verbatim}
  
+ \item The \function{eval(\var{expr}, \var{globals}, \var{locals})}
+ function now accepts any mapping type for the \var{locals} argument.
+ Previously this had to be a regular Python dictionary.
+ 
  \item The \function{zip()} built-in function and \function{itertools.izip()}
    now return an empty list instead of raising a \exception{TypeError}
***************
*** 625,628 ****
--- 632,640 ----
  \begin{itemize}
  
+ \item The \module{asyncore} module's \function{loop()} now has a 
+    \var{count} parameter that lets you perform a limited number 
+    of passes through the polling loop.  The default is still to loop
+    forever.
+ 
  \item The \module{curses} modules now supports the ncurses extension 
     \function{use_default_colors()}.  On platforms where the terminal
***************
*** 684,688 ****
     high volumes of data.  In addition, the module has two new functions
     \function{nlargest()} and \function{nsmallest()} that use heaps to
!    find the largest or smallest n values in a dataset without the
     expense of a full sort.
  
--- 696,700 ----
     high volumes of data.  In addition, the module has two new functions
     \function{nlargest()} and \function{nsmallest()} that use heaps to
!    find the N largest or smallest values in a dataset without the
     expense of a full sort.
  
***************
*** 761,768 ****
  bookmarking, windowing, or lookahead iterators.
  
- \item A new \function{getsid()} function was added to the
- \module{posix} module that underlies the \module{os} module.
- (Contributed by J. Raynor.)
- 
  \item The \module{operator} module gained two new functions, 
  \function{attrgetter(\var{attr})} and \function{itemgetter(\var{index})}.
--- 773,776 ----
***************
*** 782,785 ****
--- 790,802 ----
  \end{verbatim}
  
+ \item A new \function{getsid()} function was added to the
+ \module{posix} module that underlies the \module{os} module.
+ (Contributed by J. Raynor.)
+ 
+ \item The \module{poplib} module now supports POP over SSL.
+ 
+ \item The \module{profile} module can now profile C extension functions.
+ % XXX more to say about this? 
+ 
  \item The \module{random} module has a new method called \method{getrandbits(N)} 
     which returns an N-bit long integer.  This method supports the existing
***************
*** 798,801 ****
--- 815,821 ----
     including Python functions, class instances, sets, frozensets, deques,
     arrays, files, sockets, and regular expression pattern objects.
+ 
+ \item The \module{xmlrpclib} module now supports a multi-call extension for 
+ tranmitting multiple XML-RPC calls in a single HTTP operation.
     
  \end{itemize}
***************
*** 847,851 ****
    defined in slots to co-exist with a PyCFunction having the same name.
    This can halve the access to time to a method such as
!   \method{set.__contains__()}
  
  \end{itemize}
--- 867,880 ----
    defined in slots to co-exist with a PyCFunction having the same name.
    This can halve the access to time to a method such as
!   \method{set.__contains__()}.
! 
!   \item Python can now be built with additional profiling for the interpreter
!    itself, useful if you're working on the Python core.  
!    Providing \longprogramopt{--enable-profiling} to the  
!    \program{configure} script will let you profile the interpreter with 
!    \program{gprof}, and providing the \longprogramopt{--with-tsc} switch 
!    enables profiling using the Pentium's Time-Stamp-Counter.
! 
!   \item The \ctype{tracebackobject} type has been renamed to \ctype{PyTracebackObject}.
  
  \end{itemize}




More information about the Python-checkins mailing list