From 6e39015f611bd0dbeada39c53d087f4df0d4ce73 Mon Sep 17 00:00:00 2001 From: R David Murray <rdmurray@bitdance.com> Date: Tue, 24 Dec 2013 22:28:04 -0500 Subject: [PATCH] pty.spawn returns os.waitpid; optimization of BZ2File and LZMAFile. --- Doc/whatsnew/3.4.rst | 13 +++++++++++++ Misc/NEWS | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 9f8583d4d3..e9292ba021 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -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 ========== diff --git a/Misc/NEWS b/Misc/NEWS index d449cc3410..8a7da0902a 100644 --- 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. -- 2.40.0