From: Serhiy Storchaka Date: Tue, 25 Oct 2016 11:47:53 +0000 (+0300) Subject: Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces. X-Git-Tag: v3.7.0a1~2137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da223e5cef42ffe200f0f1dbdb695e9f1c171ea7;p=python Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces. Based on patch by Kaarle Ritvanen. --- da223e5cef42ffe200f0f1dbdb695e9f1c171ea7 diff --cc Misc/NEWS index dbee558fed,98301ccdb7..460986117a --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -22,8 -22,84 +22,6 @@@ Core and Builtin - Issue #23782: Fixed possible memory leak in _PyTraceback_Add() and exception loss in PyTraceBack_Here(). -- Issue #28471: Fix "Python memory allocator called without holding the GIL" - crash in socket.setblocking. - - -Library -------- - -- Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces. - Based on patch by Kaarle Ritvanen. - --- Issue #28353: os.fwalk() no longer fails on broken links. - -- Issue #28430: Fix iterator of C implemented asyncio.Future doesn't accept - non-None value is passed to it.send(val). - -- Issue #27025: Generated names for Tkinter widgets now start by the "!" prefix - for readability (was "`"). - -- Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin - a workaround to Tix library bug. - -- Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive. - -- Issue #25953: re.sub() now raises an error for invalid numerical group - reference in replacement template even if the pattern is not found in - the string. Error message for invalid group reference now includes the - group index and the position of the reference. - Based on patch by SilentGhost. - -- Issue #18219: Optimize csv.DictWriter for large number of columns. - Patch by Mariatta Wijaya. - -- Issue #28448: Fix C implemented asyncio.Future didn't work on Windows. - -- Issue #28480: Fix error building socket module when multithreading is - disabled. - -- Issue #24452: Make webbrowser support Chrome on Mac OS X. - -- Issue #20766: Fix references leaked by pdb in the handling of SIGINT - handlers. - -- Issue #28492: Fix how StopIteration exception is raised in _asyncio.Future. - -- Issue #28500: Fix asyncio to handle async gens GC from another thread. - -- Issue #26923: Fix asyncio.Gather to refuse being cancelled once all - children are done. - Patch by Johannes Ebke. - -- Issue #26796: Don't configure the number of workers for default - threadpool executor. - Initial patch by Hans Lawrenz. - -Build ------ - -- Issue #28208: Update Windows build to use SQLite 3.14.2.0. - -- Issue #28248: Update Windows build to use OpenSSL 1.0.2j. - -Tests ------ - -- Issue #26944: Fix test_posix for Android where 'id -G' is entirely wrong or - missing the effective gid. - -- Issue #28409: regrtest: fix the parser of command line arguments. - - -What's New in Python 3.6.0 beta 2 -================================= - -*Release date: 2016-10-10* - -Core and Builtins ------------------ -- - Issue #28183: Optimize and cleanup dict iteration. - Issue #26081: Added C implementation of asyncio.Future. @@@ -99,62 -169,6 +97,67 @@@ Library ------- ++- Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces. ++ Based on patch by Kaarle Ritvanen. ++ ++- Issue #28353: os.fwalk() no longer fails on broken links. ++ +- Issue #28430: Fix iterator of C implemented asyncio.Future doesn't accept + non-None value is passed to it.send(val). + +- Issue #27025: Generated names for Tkinter widgets now start by the "!" prefix + for readability (was "`"). + +- Issue #25464: Fixed HList.header_exists() in tkinter.tix module by addin + a workaround to Tix library bug. + +- Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive. + +- Issue #25953: re.sub() now raises an error for invalid numerical group + reference in replacement template even if the pattern is not found in + the string. Error message for invalid group reference now includes the + group index and the position of the reference. + Based on patch by SilentGhost. + +- Issue #28469: timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead + of 1, 10, 100,... for autoranging. + +- Issue #28115: Command-line interface of the zipfile module now uses argparse. + Added support of long options. + +- Issue #18219: Optimize csv.DictWriter for large number of columns. + Patch by Mariatta Wijaya. + +- Issue #28448: Fix C implemented asyncio.Future didn't work on Windows. + +- Issue #23214: In the "io" module, the argument to BufferedReader and + BytesIO's read1() methods is now optional and can be -1, matching the + BufferedIOBase specification. + +- Issue #28480: Fix error building socket module when multithreading is + disabled. + +- Issue #28240: timeit: remove ``-c/--clock`` and ``-t/--time`` command line + options which were deprecated since Python 3.3. + +- Issue #28240: timeit now repeats the benchmarks 5 times instead of only 3 + to make benchmarks more reliable. + +- Issue #28240: timeit autorange now uses a single loop iteration if the + benchmark takes less than 10 seconds, instead of 10 iterations. + "python3 -m timeit -s 'import time' 'time.sleep(1)'" now takes 4 seconds + instead of 40 seconds. + +- Distutils.sdist now looks for README and setup.py files with case + sensitivity. This behavior matches that found in Setuptools 6.0 and + later. See `setuptools 100 + `_ for rationale. + +- Issue #24452: Make webbrowser support Chrome on Mac OS X. + +- Issue #20766: Fix references leaked by pdb in the handling of SIGINT + handlers. + - Issue #27998: Fixed bytes path support in os.scandir() on Windows. Patch by Eryk Sun.