summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.4.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-01-08 22:21:22 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-01-08 22:21:22 (GMT)
commit66bf12a58e08914847d2739a0307780a352e883d (patch)
tree4d1e60dc2db410517884b55896c3a14677dd75fd /Doc/whatsnew/3.4.rst
parent6f17deb9bb8d681c590b21166b39fc5f42d07cfc (diff)
downloadcpython-66bf12a58e08914847d2739a0307780a352e883d.zip
cpython-66bf12a58e08914847d2739a0307780a352e883d.tar.gz
cpython-66bf12a58e08914847d2739a0307780a352e883d.tar.bz2
whatsnew: FileIO.readall performance, os.cpu_count.
And more news item tweaks.
Diffstat (limited to 'Doc/whatsnew/3.4.rst')
-rw-r--r--Doc/whatsnew/3.4.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 820d0cb..cac02f1 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -853,6 +853,11 @@ descriptors or a Windows handle:
* :func:`os.get_inheritable`, :func:`os.set_inheritable`
* :func:`os.get_handle_inheritable`, :func:`os.set_handle_inheritable`
+The :mod:`os` module now provides a :func:`~os.cpu_count` function, analogous to
+the :func:`multiprocessing.cpu_count` function (which is now implemented in
+terms of the new :mod:`os` function). (Contributed by Trent Nelson, Yogesh
+Chaudhari, Victor Stinner, and Charles-François Natali in :issue:`17914`.)
+
pdb
---
@@ -985,6 +990,8 @@ The ``socket.AF_*`` and ``socket.SOCK_*`` constants are now enumeration values
using the new :mod:`enum` module. This allows meaningful names to be printed
during debugging, instead of integer "magic numbers".
+The :data:`~socket.AF_LINK` constant is now available on BSD and OSX.
+
sqlite3
-------
@@ -1341,6 +1348,11 @@ Significant Optimizations
strings is now significantly faster. (Contributed by Victor Stinner and
Antoine Pitrou in :issue:`15596`.)
+* A performance issue in :meth:`io.FileIO.readall` has been solved. This
+ particularly affects Windows, and significantly speeds up the case of piping
+ significant amounts of data through :mod:`subprocess`. (Contributed
+ by Richard Oudkerk in :issue:`15758`.)
+
Deprecated