pty.spawn returns os.waitpid; optimization of BZ2File and LZMAFile.

This commit is contained in:
R David Murray 2013-12-24 22:28:04 -05:00
parent 3edcc7832e
commit 6e39015f61
2 changed files with 14 additions and 1 deletions

View 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
==========

View File

@ -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.