summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-12-24 22:28:04 -0500
committerR David Murray <rdmurray@bitdance.com>2013-12-24 22:28:04 -0500
commit6e39015f611bd0dbeada39c53d087f4df0d4ce73 (patch)
treef172e1f37b416938dc13d301eba8f79d202fc6d4
parent3edcc7832e04691bc6309915201e4461a18a0eb0 (diff)
downloadcpython-git-6e39015f611bd0dbeada39c53d087f4df0d4ce73.tar.gz
pty.spawn returns os.waitpid; optimization of BZ2File and LZMAFile.
-rw-r--r--Doc/whatsnew/3.4.rst13
-rw-r--r--Misc/NEWS2
2 files changed, 14 insertions, 1 deletions
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.