[Python-checkins] python/dist/src/Doc/whatsnew whatsnew24.tex, 1.73, 1.74

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Mon Jul 26 21:28:48 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13112
Modified Files:
	whatsnew24.tex 
Log Message:
Add some items
Index: whatsnew24.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** whatsnew24.tex	26 Jul 2004 18:52:48 -0000	1.73
--- whatsnew24.tex	26 Jul 2004 19:28:46 -0000	1.74
***************
*** 839,842 ****
--- 839,848 ----
 bookmarking, windowing, or lookahead iterators.
 
+ \item A number of functions were added to the \module{locale} 
+ module, such as \function{bind_textdomain_codeset()} to specify a
+ particular encoding, and a family of \function{l*gettext()} functions
+ that return messages in the chosen encoding.
+ (Contributed by Gustavo Niemeyer.)
+ 
 \item The \module{logging} package's \function{basicConfig} function 
 gained some keyword arguments to simplify log configuration. The
***************
*** 859,862 ****
--- 865,873 ----
 be used to implement other rotating handlers.
 
+ \item The \module{nntplib} module's \class{NNTP} class gained
+ \method{description()} and \method{descriptions()} methods to retrieve 
+ newsgroup descriptions for a single group or for a range of groups.
+ (Contributed by J\"urgen A. Erhard.)
+ 
 \item The \module{operator} module gained two new functions, 
 \function{attrgetter(\var{attr})} and \function{itemgetter(\var{index})}.
***************
*** 960,963 ****
--- 971,978 ----
 \csimplemacro{Py_RETURN_TRUE}, and \csimplemacro{Py_RETURN_FALSE}.
 
+ \item Another new macro, \csimplemacro{Py_CLEAR(\var{obj})}, 
+ decreases the reference count of \var{obj} and sets \var{obj} to the
+ null pointer.
+ 
 \item A new function, \cfunction{PyTuple_Pack(\var{N}, \var{obj1},
 \var{obj2}, ..., \var{objN})}, constructs tuples from a variable


More information about the Python-checkins mailing list

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