diff options
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 93 |
1 files changed, 79 insertions, 14 deletions
@@ -2,12 +2,10 @@ Python News +++++++++++ -What's New in Python 3.3.1? -=========================== - -*Not yet released, see sections below for changes released in 3.3.0* +What's New in Python 3.4.0 Alpha 1? +=================================== -.. *Release date: XX-XXX-2012* +*Relase date: XX-XXX-2014* Core and Builtins ----------------- @@ -15,14 +13,25 @@ Core and Builtins - Issue #16241: Document -X faulthandler command line option. Patch by Marek Šuppa. +- Issue #12805: Make bytes.join and bytearray.join faster when the separator + is empty. Patch by Serhiy Storchaka. + - Issue #6074: Ensure cached bytecode files can always be updated by the user that created them, even when the source file is read-only. +- Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified + endianess detection and handling. + +- Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer + objects. + - Issue #14783: Improve int() docstring and switch docstrings for str(), range(), and slice() to use multi-line signatures. - Issue #16160: Subclass support now works for types.SimpleNamespace. +- Upgrade Unicode data (UCD) to version 6.2. + - Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings). Patch by Serhiy Storchaka. @@ -35,16 +44,20 @@ Core and Builtins - Issue #15839: Convert SystemErrors in `super()` to RuntimeErrors. +- Issue #15448: Buffered IO now frees the buffer when closed, instead + of when deallocating. + - Issue #15846: Fix SystemError which happened when using `ast.parse()` in an exception handler on code with syntax errors. +- Issue #15897: zipimport.c doesn't check return value of fseek(). + Patch by Felipe Cruz. + - Issue #15801: Make sure mappings passed to '%' formatting are actually subscriptable. -- Issue #15111: __import__ should let ImportError propagate when a module that - is imported as a side-effect of using fromlist tries to import a module - that cannot be found. - +- Issue #15111: __import__ should propagate ImportError when raised as a + side-effect of a module triggered from using fromlist. Library ------- @@ -54,8 +67,25 @@ Library - Issue #16245: Fix the value of a few entities in html.entities.html5. +- Issue #16301: Fix the localhost verification in urllib/request.py for file:// + urls. + +- Issue #16250: Fix the invocations of URLError which had misplaced filename + attribute for exception. + +- Issue #10836: Fix exception raised when file not found in urlretrieve + Initial patch by Ezio Melotti. + - Issue #14398: Fix size truncation and overflow bugs in the bz2 module. +- Issue #12692: Fix resource leak in urllib.request when talking to an HTTP + server that does not include a "Connection: close" header in its responses. + +- Issue #12034: Fix bogus caching of result in check_GetFinalPathNameByHandle. + Patch by Atsuo Ishimoto. + +- Improve performance of `lzma.LZMAFile`. + - Issue #16220: wsgiref now always calls close() on an iterable response. Patch by Brent Tubbs. @@ -64,20 +94,36 @@ Library - Issue #16176: Properly identify Windows 8 via platform.platform() +- Issue #16088: BaseHTTPRequestHandler's send_error method includes a + Content-Length header in it's response now. Patch by Antoine Pitrou. + - Issue #16114: The subprocess module no longer provides a misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist. - Issue #16169: Fix ctypes.WinError()'s confusion between errno and winerror. +- Issue #1492704: shutil.copyfile() raises a distinct SameFileError now if + source and destination are the same file. Patch by Atsuo Ishimoto. + +- Issue #13896: Make shelf instances work with 'with' as context managers. + Original patch by Filip Gruszczyński. + +- Issue #15417: Add support for csh and fish in venv activation scripts. + +- Issue #16123: IDLE - deprecate running without a subprocess. + Patch by Roger Serwy. + - Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL). +- Issue #9650: List commonly used format codes in time.strftime and + time.strptime docsttings. Original patch by Mike Hoy. + - Issue #16034: Fix performance regressions in the new `bz2.BZ2File` implementation. Initial patch by Serhiy Storchaka. -- Issue #16112: platform.architecture does not correctly escape argument to - /usr/bin/file. Patch by David Benjamin. +- `pty.spawn()` now returns the child process status returned by `os.waitpid()`. - Issue #15756: `subprocess.poll()` now properly handles `errno.ECHILD` to return a returncode of 0 when the child has already exited or cannot be waited @@ -97,6 +143,9 @@ Library - Issue #15421: Fix an OverflowError in `Calendar.itermonthdates()` after `datetime.MAXYEAR`. Patch by Cédric Krier. +- Issue #16112: platform.architecture does not correctly escape argument to + /usr/bin/file. Patch by David Benjamin. + - Issue #15970: `xml.etree.ElementTree` now serializes correctly the empty HTML elements 'meta' and 'param'. @@ -122,14 +171,22 @@ Library Popen when ``%action`` substitutions produce empty strings. - Issue #12776, issue #11839: Call `argparse` type function (specified by - add_argument) only once. Before, the type function was called twice in the + add_argument) only once. Before, the type function was called twice in the case where the default was specified and the argument was given as well. This was especially problematic for the FileType type, as a default file would always be opened, even if a file argument was specified on the command line. -- Issue #15906: Fix a regression in `argparse` caused by the preceding change, +- Issue #15906: Fix a regression in argparse caused by the preceding change, when ``action='append'``, ``type='str'`` and ``default=[]``. +Extension Modules +----------------- + +- Issue #16113: Added sha3 module based on the Keccak reference implementation + 3.2. The `hashlib` module has four additional hash algorithms: `sha3_224`, + `sha3_256`, `sha3_384` and `sha3_512`. As part of the patch some common + code was moved from _hashopenssl.c to hashlib.h. + Tests ----- @@ -142,7 +199,7 @@ Tests - Issue #15802: Fix test logic in `TestMaildir.test_create_tmp()`. Patch by Serhiy Storchaka. -- Issue #15557: Add a test suite for the `webbrowser` module, thanks to Anton +- Issue #15557: Added a test suite for the webbrowser module, thanks to Anton Barkovsky. Build @@ -160,6 +217,8 @@ Build - Issue #15923: Fix a mistake in ``asdl_c.py`` that resulted in a TypeError after 2801bf875a24 (see #15801). +- Issue #16135: Remove OS/2 support. + - Issue #15819: Make sure we can build Python out-of-tree from a read-only source directory. (Somewhat related to issue #9860.) @@ -172,6 +231,9 @@ Documentation - Issue #16115: Improve subprocess.Popen() documentation around args, shell, and executable arguments. +- Issue #13498: Clarify docs of os.makedirs()'s exist_ok argument. Done with + great native-speaker help from R. David Murray. + - Issue #15533: Clarify docs and add tests for `subprocess.Popen()`'s cwd argument. @@ -189,6 +251,9 @@ Documentation Tools/Demos ----------- +- Issue #16245: Add the Tools/scripts/parse_html5_entities.py script to parse + the list of HTML5 entities and update the html.entities.html5 dictionary. + - Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka. |