[Python-checkins] r43112 - python/trunk/Doc/whatsnew/whatsnew25.tex

andrew.kuchling python-checkins at python.org
Fri Mar 17 16:38:41 CET 2006


Author: andrew.kuchling
Date: Fri Mar 17 16:38:39 2006
New Revision: 43112
Modified:
 python/trunk/Doc/whatsnew/whatsnew25.tex
Log:
Add some items
Modified: python/trunk/Doc/whatsnew/whatsnew25.tex
==============================================================================
--- python/trunk/Doc/whatsnew/whatsnew25.tex	(original)
+++ python/trunk/Doc/whatsnew/whatsnew25.tex	Fri Mar 17 16:38:39 2006
@@ -597,6 +597,15 @@
 The \member{st_flags} member is also available, if the platform supports it.
 % XXX patch 1180695, 1212117
 
+\item The old \module{regex} and \module{regsub} modules, which have been 
+deprecated ever since Python 2.0, have finally been deleted. 
+
+\item The \file{lib-old} directory,
+which includes ancient modules such as \module{dircmp} and
+\module{ni}, was also deleted. \file{lib-old} wasn't on the default
+\code{sys.path}, so unless your programs explicitly added the directory to 
+\code{sys.path}, this removal shouldn't affect your code.
+
 \item The \module{socket} module now supports \constant{AF_NETLINK}
 sockets on Linux, thanks to a patch from Philippe Biondi. 
 Netlink sockets are a Linux-specific mechanism for communications
@@ -715,7 +724,14 @@
 
 \begin{itemize}
 
-\item Details go here.
+\item Evan Jones's patch to obmalloc, first described in a talk
+at PyCon DC 2005, was applied. Python 2.4 allocated small objects in
+256K-sized arenas, but never freed arenas. With this patch, Python
+will free arenas when they're empty. The net effect is that on some
+platforms, when you allocate many objects, Python's memory usage may
+actually drop when you delete them, and the memory may be returned to
+the operating system. (Implemented by Evan Jones, and reworked by Tim
+Peters.)
 
 \end{itemize}
 


More information about the Python-checkins mailing list

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