]> granicus.if.org Git - python/commitdiff
pty.spawn returns os.waitpid; optimization of BZ2File and LZMAFile.
authorR David Murray <rdmurray@bitdance.com>
Wed, 25 Dec 2013 03:28:04 +0000 (22:28 -0500)
committerR David Murray <rdmurray@bitdance.com>
Wed, 25 Dec 2013 03:28:04 +0000 (22:28 -0500)
Doc/whatsnew/3.4.rst
Misc/NEWS

index 9f8583d4d3ccb981ff2da0a4bf0cc42427f22613..e9292ba021b7125304b325b7f52b9fed3959bef2 100644 (file)
@@ -473,6 +473,7 @@ trace memory blocks allocated by Python. It provides the following information:
 Improved Modules
 ================
 
+
 abc
 ---
 
@@ -480,6 +481,7 @@ New function :func:`abc.get_cache_token` can be used to know when to invalidate
 caches that are affected by changes in the object graph.  (Contributed
 by Ćukasz Langa in :issue:`16832`.)
 
+
 aifc
 ----
 
@@ -786,6 +788,13 @@ The :mod:`pprint` module now supports *compact* mode for formatting long
 sequences (:issue:`19132`).
 
 
+pty
+---
+
+:func:`pty.spawn` now returns the status value from :func:`os.waitpid` on
+the child process, instead of ``None``.  (Contributed by Gregory P. Smith.)
+
+
 pydoc
 -----
 
@@ -1110,6 +1119,10 @@ Significant Optimizations
   :issue:`19219`, :issue:`19218`, :issue:`19209`, :issue:`19205` and
   :issue:`9548`)
 
+* :class:`bz2.BZ2File` is now as fast or faster than the Python2 version for
+  most cases.  :class:`lzma.LZMAFile` has also been optimized.  (Contributed by
+  Serhiy Storchaka and Nadeem Vawda in :issue:`16034`.)
+
 
 Deprecated
 ==========
index d449cc3410a4f4e87789e94c9fa5fdf89facad10..8a7da0902a0697e73f22d522817a4f96d3419d69 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2817,7 +2817,7 @@ Library
 - Issue #12034: Fix bogus caching of result in check_GetFinalPathNameByHandle.
   Patch by Atsuo Ishimoto.
 
-- Improve performance of `lzma.LZMAFile`.
+- Improve performance of `lzma.LZMAFile` (see also issue #16034).
 
 - Issue #16220: wsgiref now always calls close() on an iterable response.
   Patch by Brent Tubbs.