[Python-checkins] cpython: pty.spawn returns os.waitpid; optimization of BZ2File and LZMAFile.

r.david.murray python-checkins at python.org
Wed Dec 25 04:31:54 CET 2013


http://hg.python.org/cpython/rev/8a334a509dc2
changeset:   88178:8a334a509dc2
user:        R David Murray <rdmurray at bitdance.com>
date:        Tue Dec 24 22:28:04 2013 -0500
summary:
  pty.spawn returns os.waitpid; optimization of BZ2File and LZMAFile.

files:
  Doc/whatsnew/3.4.rst |  13 +++++++++++++
  Misc/NEWS            |   2 +-
  2 files changed, 14 insertions(+), 1 deletions(-)


diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -473,6 +473,7 @@
 Improved Modules
 ================
 
+
 abc
 ---
 
@@ -480,6 +481,7 @@
 caches that are affected by changes in the object graph.  (Contributed
 by Łukasz Langa in :issue:`16832`.)
 
+
 aifc
 ----
 
@@ -786,6 +788,13 @@
 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 @@
   :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
 ==========
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2817,7 +2817,7 @@
 - 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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list