From: R David Murray Date: Mon, 3 Feb 2014 06:14:03 +0000 (-0500) Subject: whatsnew: html.escape 10x faster, _gestalt module gone. X-Git-Tag: v3.4.0rc1~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf0ab8377aae2ff3d1f3356e40ca4f3cda077ed4;p=thirdparty%2FPython%2Fcpython.git whatsnew: html.escape 10x faster, _gestalt module gone. --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 585451450b33..644a1f070871 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -1448,6 +1448,8 @@ Significant Optimizations significant amounts of data through :mod:`subprocess`. (Contributed by Richard Oudkerk in :issue:`15758`.) +* :func:`html.escape` is now 10x faster. (Contributed by Matt Bryant in + :issue:`18020`.) Deprecated @@ -1559,6 +1561,11 @@ Code Cleanups * The unused and undocumented internal ``Scanner`` class has been removed from the :mod:`pydoc` module. +* The private and effectively unused ``_gestalt`` module has been removed, + along with the private :mod:`platform` functions ``_mac_ver_lookup``, + ``_mac_ver_gstalt``, and ``_bcd2str``, which would only have ever been called + on badly broken OSX systems (see :issue:`18393`). + Porting to Python 3.4 @@ -1608,7 +1615,7 @@ Changes in the Python API exceptions now. * :func:`functools.update_wrapper` and :func:`functools.wraps` now correctly - set the ``__wrapped__`` attribute to the function being wrapper, even if + set the ``__wrapped__`` attribute to the function being wrapped, even if that function also had its ``__wrapped__`` attribute set. This means ``__wrapped__`` attributes now correctly link a stack of decorated functions rather than every ``__wrapped__`` attribute in the chain