From: Larry Hastings Date: Mon, 24 Jul 2017 02:19:54 +0000 (-0700) Subject: Blurb release for 3.5.4rc1. X-Git-Tag: v3.5.4rc1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bf9aa2579bd41cf172b7ebf9c5cf7f225736e07;p=python Blurb release for 3.5.4rc1. --- diff --git a/Misc/NEWS.d/3.5.4rc1.rst b/Misc/NEWS.d/3.5.4rc1.rst new file mode 100644 index 0000000000..5678ff247d --- /dev/null +++ b/Misc/NEWS.d/3.5.4rc1.rst @@ -0,0 +1,1135 @@ +.. bpo: 30730 +.. date: 084 +.. nonce: rJsyTH +.. original section: Library +.. release date: 2017-07-23 +.. section: Security + +Prevent environment variables injection in subprocess on Windows. Prevent +passing other environment variables and command arguments. + +.. + +.. bpo: 30694 +.. date: 083 +.. nonce: WkMWM_ +.. original section: Library +.. section: Security + +Upgrade expat copy from 2.2.0 to 2.2.1 to get fixes of multiple security +vulnerabilities including: CVE-2017-9233 (External entity infinite loop +DoS), CVE-2016-9063 (Integer overflow, re-fix), CVE-2016-0718 (Fix +regression bugs from 2.2.0's fix to CVE-2016-0718) and CVE-2012-0876 +(Counter hash flooding with SipHash). Note: the CVE-2016-5300 (Use os- +specific entropy sources like getrandom) doesn't impact Python, since Python +already gets entropy from the OS to set the expat secret using +``XML_SetHashSalt()``. + +.. + +.. bpo: 30500 +.. date: 081 +.. nonce: 1VG7R- +.. original section: Library +.. section: Security + +Fix urllib.parse.splithost() to correctly parse fragments. For example, +``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the +``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an +authentification (``login@host``). + +.. + +.. bpo: 29591 +.. date: 076 +.. nonce: ExKblw +.. original section: Library +.. section: Security + +Update expat copy from 2.1.1 to 2.2.0 to get fixes of CVE-2016-0718 and +CVE-2016-4472. See https://sourceforge.net/p/expat/bugs/537/ for more +information. + +.. + +.. bpo: 30876 +.. date: 2017-07-11-06-31-32 +.. nonce: x35jZX +.. section: Core and Builtins + +Relative import from unloaded package now reimports the package instead of +failing with SystemError. Relative import from non-package now fails with +ImportError rather than SystemError. + +.. + +.. bpo: 30765 +.. date: 2017-06-26-14-29-50 +.. nonce: Q5iBmf +.. section: Core and Builtins + +Avoid blocking in pthread_mutex_lock() when PyThread_acquire_lock() is asked +not to block. + +.. + +.. bpo: 27945 +.. date: 100 +.. nonce: p29r3O +.. section: Core and Builtins + +Fixed various segfaults with dict when input collections are mutated during +searching, inserting or comparing. Based on patches by Duane Griffin and +Tim Mitchell. + +.. + +.. bpo: 25794 +.. date: 099 +.. nonce: xfPwqm +.. section: Core and Builtins + +Fixed type.__setattr__() and type.__delattr__() for non-interned attribute +names. Based on patch by Eryk Sun. + +.. + +.. bpo: 29935 +.. date: 098 +.. nonce: vgjdJo +.. section: Core and Builtins + +Fixed error messages in the index() method of tuple, list and deque when +pass indices of wrong type. + +.. + +.. bpo: 28876 +.. date: 097 +.. nonce: cU-sGT +.. section: Core and Builtins + +``bool(range)`` works even if ``len(range)`` raises :exc:`OverflowError`. + +.. + +.. bpo: 29600 +.. date: 096 +.. nonce: 77wQ6C +.. section: Core and Builtins + +Fix wrapping coroutine return values in StopIteration. + +.. + +.. bpo: 29537 +.. date: 095 +.. nonce: lu1ysY +.. section: Core and Builtins + +Restore runtime compatibility with bytecode files generated by CPython 3.5.0 +to 3.5.2, and adjust the eval loop to avoid the problems that could be +caused by the malformed variant of the BUILD_MAP_UNPACK_WITH_CALL opcode +that they may contain. Patch by Petr Viktorin, Serhiy Storchaka, and Nick +Coghlan. + +.. + +.. bpo: 28598 +.. date: 094 +.. nonce: QxbzQn +.. section: Core and Builtins + +Support __rmod__ for subclasses of str being called before str.__mod__. +Patch by Martijn Pieters. + +.. + +.. bpo: 29602 +.. date: 093 +.. nonce: qyyskC +.. section: Core and Builtins + +Fix incorrect handling of signed zeros in complex constructor for complex +subclasses and for inputs having a __complex__ method. Patch by Serhiy +Storchaka. + +.. + +.. bpo: 29347 +.. date: 092 +.. nonce: 1RPPGN +.. section: Core and Builtins + +Fixed possibly dereferencing undefined pointers when creating weakref +objects. + +.. + +.. bpo: 29438 +.. date: 091 +.. nonce: IKxD6I +.. section: Core and Builtins + +Fixed use-after-free problem in key sharing dict. + +.. + +.. bpo: 29319 +.. date: 090 +.. nonce: KLDUZf +.. section: Core and Builtins + +Prevent RunMainFromImporter overwriting sys.path[0]. + +.. + +.. bpo: 29337 +.. date: 089 +.. nonce: bjX8AE +.. section: Core and Builtins + +Fixed possible BytesWarning when compare the code objects. Warnings could be +emitted at compile time. + +.. + +.. bpo: 29478 +.. date: 088 +.. nonce: rTQ-qy +.. section: Core and Builtins + +If max_line_length=None is specified while using the Compat32 policy, it is +no longer ignored. Patch by Mircea Cosbuc. + +.. + +.. bpo: 29403 +.. date: 2017-07-20-02-29-49 +.. nonce: 3RinCV +.. section: Library + +Fix ``unittest.mock``'s autospec to not fail on method-bound builtin +functions. Patch by Aaron Gallagher. + +.. + +.. bpo: 30961 +.. date: 2017-07-18-23-47-51 +.. nonce: 064jz0 +.. section: Library + +Fix decrementing a borrowed reference in tracemalloc. + +.. + +.. bpo: 30886 +.. date: 2017-07-10-12-14-22 +.. nonce: nqQj34 +.. section: Library + +Fix multiprocessing.Queue.join_thread(): it now waits until the thread +completes, even if the thread was started by the same process which created +the queue. + +.. + +.. bpo: 29854 +.. date: 2017-07-07-02-18-57 +.. nonce: J8wKb_ +.. section: Library + +Fix segfault in readline when using readline's history-size option. Patch +by Nir Soffer. + +.. + +.. bpo: 30807 +.. date: 2017-06-29-22-04-44 +.. nonce: sLtjY- +.. section: Library + +signal.setitimer() may disable the timer when passed a tiny value. + +Tiny values (such as 1e-6) are valid non-zero values for setitimer(), which +is specified as taking microsecond-resolution intervals. However, on some +platform, our conversion routine could convert 1e-6 into a zero interval, +therefore disabling the timer instead of (re-)scheduling it. + +.. + +.. bpo: 30441 +.. date: 2017-06-29-14-25-14 +.. nonce: 3Wh9kc +.. section: Library + +Fix bug when modifying os.environ while iterating over it + +.. + +.. bpo: 30532 +.. date: 2017-06-26-11-01-59 +.. nonce: qTeL1o +.. section: Library + +Fix email header value parser dropping folding white space in certain cases. + +.. + +.. bpo: 29169 +.. date: 087 +.. nonce: 8ypApm +.. section: Library + +Update zlib to 1.2.11. + +.. + +.. bpo: 30879 +.. date: 086 +.. nonce: N3KI-o +.. section: Library + +os.listdir() and os.scandir() now emit bytes names when called with bytes- +like argument. + +.. + +.. bpo: 30746 +.. date: 085 +.. nonce: 7drQI0 +.. section: Library + +Prohibited the '=' character in environment variable names in +``os.putenv()`` and ``os.spawn*()``. + +.. + +.. bpo: 29755 +.. date: 082 +.. nonce: diQcY_ +.. section: Library + +Fixed the lgettext() family of functions in the gettext module. They now +always return bytes. + +.. + +.. bpo: 30645 +.. date: 080 +.. nonce: oYzbbW +.. section: Library + +Fix path calculation in imp.load_package(), fixing it for cases when a +package is only shipped with bytecodes. Patch by Alexandru Ardelean. + +.. + +.. bpo: 23890 +.. date: 079 +.. nonce: GCFAAZ +.. section: Library + +unittest.TestCase.assertRaises() now manually breaks a reference cycle to +not keep objects alive longer than expected. + +.. + +.. bpo: 30149 +.. date: 078 +.. nonce: hE649r +.. section: Library + +inspect.signature() now supports callables with variable-argument parameters +wrapped with partialmethod. Patch by Dong-hee Na. + +.. + +.. bpo: 29931 +.. date: 077 +.. nonce: tfcTwK +.. section: Library + +Fixed comparison check for ipaddress.ip_interface objects. Patch by Sanjay +Sundaresan. + +.. + +.. bpo: 24484 +.. date: 075 +.. nonce: vFem8K +.. section: Library + +Avoid race condition in multiprocessing cleanup. + +.. + +.. bpo: 28994 +.. date: 074 +.. nonce: 9vzun1 +.. section: Library + +The traceback no longer displayed for SystemExit raised in a callback +registered by atexit. + +.. + +.. bpo: 30508 +.. date: 073 +.. nonce: wNWRS2 +.. section: Library + +Don't log exceptions if Task/Future "cancel()" method was called. + +.. + +.. bpo: 28556 +.. date: 072 +.. nonce: mESP7G +.. section: Library + +Updates to typing module: Add generic AsyncContextManager, add support for +ContextManager on all versions. Original PRs by Jelle Zijlstra and Ivan +Levkivskyi + +.. + +.. bpo: 29870 +.. date: 071 +.. nonce: p960Ih +.. section: Library + +Fix ssl sockets leaks when connection is aborted in asyncio/ssl +implementation. Patch by Michaël Sghaïer. + +.. + +.. bpo: 29743 +.. date: 070 +.. nonce: en2P4s +.. section: Library + +Closing transport during handshake process leaks open socket. Patch by +Nikolay Kim + +.. + +.. bpo: 27585 +.. date: 069 +.. nonce: 0Ugqqu +.. section: Library + +Fix waiter cancellation in asyncio.Lock. Patch by Mathieu Sornay. + +.. + +.. bpo: 30418 +.. date: 068 +.. nonce: EwISQm +.. section: Library + +On Windows, subprocess.Popen.communicate() now also ignore EINVAL on +stdin.write() if the child process is still running but closed the pipe. + +.. + +.. bpo: 30378 +.. date: 067 +.. nonce: R_19_5 +.. section: Library + +Fix the problem that logging.handlers.SysLogHandler cannot handle IPv6 +addresses. + +.. + +.. bpo: 29960 +.. date: 066 +.. nonce: g0wr3r +.. section: Library + +Preserve generator state when _random.Random.setstate() raises an exception. +Patch by Bryan Olson. + +.. + +.. bpo: 30414 +.. date: 065 +.. nonce: jGl1Lb +.. section: Library + +multiprocessing.Queue._feed background running thread do not break from main +loop on exception. + +.. + +.. bpo: 30003 +.. date: 064 +.. nonce: BOl9HE +.. section: Library + +Fix handling escape characters in HZ codec. Based on patch by Ma Lin. + +.. + +.. bpo: 30301 +.. date: 063 +.. nonce: ywOkjN +.. section: Library + +Fix AttributeError when using SimpleQueue.empty() under *spawn* and +*forkserver* start methods. + +.. + +.. bpo: 30329 +.. date: 062 +.. nonce: EuT36N +.. section: Library + +imaplib and poplib now catch the Windows socket WSAEINVAL error (code 10022) +on shutdown(SHUT_RDWR): An invalid operation was attempted. This error +occurs sometimes on SSL connections. + +.. + +.. bpo: 30375 +.. date: 061 +.. nonce: 9c8qM7 +.. section: Library + +Warnings emitted when compile a regular expression now always point to the +line in the user code. Previously they could point into inners of the re +module if emitted from inside of groups or conditionals. + +.. + +.. bpo: 30048 +.. date: 060 +.. nonce: ELRx8R +.. section: Library + +Fixed ``Task.cancel()`` can be ignored when the task is running coroutine +and the coroutine returned without any more ``await``. + +.. + +.. bpo: 29990 +.. date: 059 +.. nonce: HWV6KE +.. section: Library + +Fix range checking in GB18030 decoder. Original patch by Ma Lin. + +.. + +.. bpo: 26293 +.. date: 058 +.. nonce: wig0YG +.. section: Library + +Change resulted because of zipfile breakage. (See also: bpo-29094) + +.. + +.. bpo: 30243 +.. date: 057 +.. nonce: RHQt0v +.. section: Library + +Removed the __init__ methods of _json's scanner and encoder. Misusing them +could cause memory leaks or crashes. Now scanner and encoder objects are +completely initialized in the __new__ methods. + +.. + +.. bpo: 30185 +.. date: 056 +.. nonce: Tiu1n8 +.. section: Library + +Avoid KeyboardInterrupt tracebacks in forkserver helper process when Ctrl-C +is received. + +.. + +.. bpo: 28556 +.. date: 055 +.. nonce: 51gjbP +.. section: Library + +Various updates to typing module: add typing.NoReturn type, use +WrapperDescriptorType, minor bug-fixes. Original PRs by Jim Fasarakis- +Hilliard and Ivan Levkivskyi. + +.. + +.. bpo: 30205 +.. date: 054 +.. nonce: BsxO34 +.. section: Library + +Fix getsockname() for unbound AF_UNIX sockets on Linux. + +.. + +.. bpo: 30070 +.. date: 053 +.. nonce: XM_B41 +.. section: Library + +Fixed leaks and crashes in errors handling in the parser module. + +.. + +.. bpo: 30061 +.. date: 052 +.. nonce: 2w_dX9 +.. section: Library + +Fixed crashes in IOBase methods __next__() and readlines() when readline() +or __next__() respectively return non-sizeable object. Fixed possible other +errors caused by not checking results of PyObject_Size(), PySequence_Size(), +or PyMapping_Size(). + +.. + +.. bpo: 30068 +.. date: 051 +.. nonce: n4q47r +.. section: Library + +_io._IOBase.readlines will check if it's closed first when hint is present. + +.. + +.. bpo: 29694 +.. date: 050 +.. nonce: LWKxb1 +.. section: Library + +Fixed race condition in pathlib mkdir with flags parents=True. Patch by +Armin Rigo. + +.. + +.. bpo: 29692 +.. date: 049 +.. nonce: oyWrAE +.. section: Library + +Fixed arbitrary unchaining of RuntimeError exceptions in +contextlib.contextmanager. Patch by Siddharth Velankar. + +.. + +.. bpo: 29998 +.. date: 048 +.. nonce: poeIKD +.. section: Library + +Pickling and copying ImportError now preserves name and path attributes. + +.. + +.. bpo: 29942 +.. date: 047 +.. nonce: CsGNuT +.. section: Library + +Fix a crash in itertools.chain.from_iterable when encountering long runs of +empty iterables. + +.. + +.. bpo: 27863 +.. date: 046 +.. nonce: pPYHHI +.. section: Library + +Fixed multiple crashes in ElementTree caused by race conditions and wrong +types. + +.. + +.. bpo: 28699 +.. date: 045 +.. nonce: wZztZP +.. section: Library + +Fixed a bug in pools in multiprocessing.pool that raising an exception at +the very first of an iterable may swallow the exception or make the program +hang. Patch by Davin Potts and Xiang Zhang. + +.. + +.. bpo: 25803 +.. date: 044 +.. nonce: CPDR0W +.. section: Library + +Avoid incorrect errors raised by Path.mkdir(exist_ok=True) when the OS gives +priority to errors such as EACCES over EEXIST. + +.. + +.. bpo: 29861 +.. date: 043 +.. nonce: t2ZoRK +.. section: Library + +Release references to tasks, their arguments and their results as soon as +they are finished in multiprocessing.Pool. + +.. + +.. bpo: 29884 +.. date: 042 +.. nonce: kWXR8W +.. section: Library + +faulthandler: Restore the old sigaltstack during teardown. Patch by +Christophe Zeitouny. + +.. + +.. bpo: 25455 +.. date: 041 +.. nonce: ZsahHN +.. section: Library + +Fixed crashes in repr of recursive buffered file-like objects. + +.. + +.. bpo: 29800 +.. date: 040 +.. nonce: d2xASa +.. section: Library + +Fix crashes in partial.__repr__ if the keys of partial.keywords are not +strings. Patch by Michael Seifert. + +.. + +.. bpo: 29742 +.. date: 039 +.. nonce: 8hqfEO +.. section: Library + +get_extra_info() raises exception if get called on closed ssl transport. +Patch by Nikolay Kim. + +.. + +.. bpo: 8256 +.. date: 038 +.. nonce: jAwGQH +.. section: Library + +Fixed possible failing or crashing input() if attributes "encoding" or +"errors" of sys.stdin or sys.stdout are not set or are not strings. + +.. + +.. bpo: 28298 +.. date: 037 +.. nonce: xfm84U +.. section: Library + +Fix a bug that prevented array 'Q', 'L' and 'I' from accepting big intables +(objects that have __int__) as elements. Patch by Oren Milman. + +.. + +.. bpo: 29615 +.. date: 036 +.. nonce: OpFKzg +.. section: Library + +SimpleXMLRPCDispatcher no longer chains KeyError (or any other exception) to +exception(s) raised in the dispatched methods. Patch by Petr Motejlek. + +.. + +.. bpo: 29704 +.. date: 035 +.. nonce: WHbx27 +.. section: Library + +asyncio.subprocess.SubprocessStreamProtocol no longer closes before all +pipes are closed. + +.. + +.. bpo: 29703 +.. date: 034 +.. nonce: ZdsPCR +.. section: Library + +Fix asyncio to support instantiation of new event loops in child processes. + +.. + +.. bpo: 29376 +.. date: 033 +.. nonce: rrJhJy +.. section: Library + +Fix assertion error in threading._DummyThread.is_alive(). + +.. + +.. bpo: 29110 +.. date: 032 +.. nonce: wmE-_T +.. section: Library + +Fix file object leak in aifc.open() when file is given as a filesystem path +and is not in valid AIFF format. Patch by Anthony Zhang. + +.. + +.. bpo: 28961 +.. date: 031 +.. nonce: Rt93vg +.. section: Library + +Fix unittest.mock._Call helper: don't ignore the name parameter anymore. +Patch written by Jiajun Huang. + +.. + +.. bpo: 29532 +.. date: 030 +.. nonce: YCwVQn +.. section: Library + +Altering a kwarg dictionary passed to functools.partial() no longer affects +a partial object after creation. + +.. + +.. bpo: 28556 +.. date: 029 +.. nonce: p6967e +.. section: Library + +Various updates to typing module: typing.Counter, typing.ChainMap, improved +ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan Levkivskyi, Manuel +Krebber, and Łukasz Langa. + +.. + +.. bpo: 29100 +.. date: 028 +.. nonce: LAAERS +.. section: Library + +Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check +minimum and maximum years. + +.. + +.. bpo: 29519 +.. date: 027 +.. nonce: oGGgZ4 +.. section: Library + +Fix weakref spewing exceptions during interpreter shutdown when used with a +rare combination of multiprocessing and custom codecs. + +.. + +.. bpo: 29416 +.. date: 026 +.. nonce: KJGyI_ +.. section: Library + +Prevent infinite loop in pathlib.Path.mkdir + +.. + +.. bpo: 29444 +.. date: 025 +.. nonce: cEwgmk +.. section: Library + +Fixed out-of-bounds buffer access in the group() method of the match object. +Based on patch by WGH. + +.. + +.. bpo: 29335 +.. date: 024 +.. nonce: _KC7IK +.. section: Library + +Fix subprocess.Popen.wait() when the child process has exited to a stopped +instead of terminated state (ex: when under ptrace). + +.. + +.. bpo: 29290 +.. date: 023 +.. nonce: XBqptF +.. section: Library + +Fix a regression in argparse that help messages would wrap at non-breaking +spaces. + +.. + +.. bpo: 28735 +.. date: 022 +.. nonce: admHLO +.. section: Library + +Fixed the comparison of mock.MagickMock with mock.ANY. + +.. + +.. bpo: 29011 +.. date: 021 +.. nonce: MI5f2R +.. section: Library + +Fix an important omission by adding Deque to the typing module. + +.. + +.. bpo: 29219 +.. date: 020 +.. nonce: kxui7t +.. section: Library + +Fixed infinite recursion in the repr of uninitialized ctypes.CDLL instances. + +.. + +.. bpo: 28969 +.. date: 019 +.. nonce: j3HJYO +.. section: Library + +Fixed race condition in C implementation of functools.lru_cache. KeyError +could be raised when cached function with full cache was simultaneously +called from differen threads with the same uncached arguments. + +.. + +.. bpo: 29142 +.. date: 018 +.. nonce: xo6kAv +.. section: Library + +In urllib.request, suffixes in no_proxy environment variable with leading +dots could match related hostnames again (e.g. .b.c matches a.b.c). Patch by +Milan Oberkirch. + +.. + +.. bpo: 30176 +.. date: 013 +.. nonce: VivmCg +.. section: Documentation + +Add missing attribute related constants in curses documentation. + +.. + +.. bpo: 26985 +.. date: 012 +.. nonce: NB5_9S +.. section: Documentation + +Add missing info of code object in inspect documentation. + +.. + +.. bpo: 28929 +.. date: 011 +.. nonce: Md7kb0 +.. section: Documentation + +Link the documentation to its source file on GitHub. + +.. + +.. bpo: 25008 +.. date: 010 +.. nonce: CeIzyU +.. section: Documentation + +Document smtpd.py as effectively deprecated and add a pointer to aiosmtpd, a +third-party asyncio-based replacement. + +.. + +.. bpo: 26355 +.. date: 009 +.. nonce: SDq_8Y +.. section: Documentation + +Add canonical header link on each page to corresponding major version of the +documentation. Patch by Matthias Bussonnier. + +.. + +.. bpo: 29349 +.. date: 008 +.. nonce: PjSo-t +.. section: Documentation + +Fix Python 2 syntax in code for building the documentation. + +.. + +.. bpo: 30822 +.. date: 2017-07-20-14-29-54 +.. nonce: X0wREo +.. section: Tests + +Fix regrtest command line parser to allow passing -u extralargefile to run +test_zipfile64. + +.. + +.. bpo: 30383 +.. date: 2017-06-27-13-52-43 +.. nonce: rCmrv7 +.. section: Tests + +regrtest: Enhance regrtest and backport features from the master branch. + +Add options: --coverage, --testdir, --list-tests (list test files, don't run +them), --list-cases (list test identifiers, don't run them, :issue:`30523`), +--matchfile (load a list of test filters from a text file, :issue:`30540`), +--slowest (alias to --slow). + +Enhance output: add timestamp, test result, currently running tests, "Tests +result: xxx" summary with total duration, etc. + +Fix reference leak hunting in regrtest, --huntrleaks: regrtest now warms up +caches, create explicitly all internal singletons which are created on +demand to prevent false positives when checking for reference leaks. +(:issue:`30675`). + +.. + +.. bpo: 30357 +.. date: 004 +.. nonce: n4CPEa +.. section: Tests + +test_thread: setUp() now uses support.threading_setup() and +support.threading_cleanup() to wait until threads complete to avoid random +side effects on following tests. Initial patch written by Grzegorz Grzywacz. + +.. + +.. bpo: 28087 +.. date: 003 +.. nonce: m8dc4R +.. section: Tests + +Skip test_asyncore and test_eintr poll failures on macOS. Skip some tests of +select.poll when running on macOS due to unresolved issues with the +underlying system poll function on some macOS versions. + +.. + +.. bpo: 30197 +.. date: 002 +.. nonce: c5wRfu +.. section: Tests + +Enhanced functions swap_attr() and swap_item() in the test.support module. +They now work when delete replaced attribute or item inside the with +statement. The old value of the attribute or item (or None if it doesn't +exist) now will be assigned to the target of the "as" clause, if there is +one. + +.. + +.. bpo: 29571 +.. date: 001 +.. nonce: r6Dixr +.. section: Tests + +to match the behaviour of the ``re.LOCALE`` flag, test_re.test_locale_flag +now uses ``locale.getpreferredencoding(False)`` to determine the candidate +encoding for the test regex (allowing it to correctly skip the test when the +default locale encoding is a multi-byte encoding) + +.. + +.. bpo: 29243 +.. date: 007 +.. nonce: WDK4hT +.. section: Build + +Prevent unnecessary rebuilding of Python during ``make test``, ``make +install`` and some other make targets when configured with ``--enable- +optimizations``. + +.. + +.. bpo: 23404 +.. date: 006 +.. nonce: PdYVWg +.. section: Build + +Don't regenerate generated files based on file modification time anymore: +the action is now explicit. Replace ``make touch`` with ``make regen-all``. + +.. + +.. bpo: 29643 +.. date: 005 +.. nonce: 4WLIJQ +.. section: Build + +Fix ``--enable-optimization`` didn't work. + +.. + +.. bpo: 30687 +.. date: 017 +.. nonce: 8mqHnu +.. section: Windows + +Locate msbuild.exe on Windows when building rather than vcvarsall.bat + +.. + +.. bpo: 29392 +.. date: 016 +.. nonce: OtqS5t +.. section: Windows + +Prevent crash when passing invalid arguments into msvcrt module. + +.. + +.. bpo: 27867 +.. date: 015 +.. nonce: VMCoJU +.. section: C API + +Function PySlice_GetIndicesEx() is replaced with a macro if Py_LIMITED_API +is set to the value between 0x03050400 and 0x03060000 (not including) or +0x03060100 or higher. + +.. + +.. bpo: 29083 +.. date: 014 +.. nonce: tGTjr_ +.. section: C API + +Fixed the declaration of some public API functions. PyArg_VaParse() and +PyArg_VaParseTupleAndKeywords() were not available in limited API. +PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue() +were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is +defined. diff --git a/Misc/NEWS.d/next/Build/005.bpo-29643.4WLIJQ.rst b/Misc/NEWS.d/next/Build/005.bpo-29643.4WLIJQ.rst deleted file mode 100644 index 65b958ffef..0000000000 --- a/Misc/NEWS.d/next/Build/005.bpo-29643.4WLIJQ.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``--enable-optimization`` didn't work. diff --git a/Misc/NEWS.d/next/Build/006.bpo-23404.PdYVWg.rst b/Misc/NEWS.d/next/Build/006.bpo-23404.PdYVWg.rst deleted file mode 100644 index 0addfd094f..0000000000 --- a/Misc/NEWS.d/next/Build/006.bpo-23404.PdYVWg.rst +++ /dev/null @@ -1,2 +0,0 @@ -Don't regenerate generated files based on file modification time anymore: -the action is now explicit. Replace ``make touch`` with ``make regen-all``. diff --git a/Misc/NEWS.d/next/Build/007.bpo-29243.WDK4hT.rst b/Misc/NEWS.d/next/Build/007.bpo-29243.WDK4hT.rst deleted file mode 100644 index 378e49f67b..0000000000 --- a/Misc/NEWS.d/next/Build/007.bpo-29243.WDK4hT.rst +++ /dev/null @@ -1,3 +0,0 @@ -Prevent unnecessary rebuilding of Python during ``make test``, ``make -install`` and some other make targets when configured with ``--enable- -optimizations``. diff --git a/Misc/NEWS.d/next/C API/014.bpo-29083.tGTjr_.rst b/Misc/NEWS.d/next/C API/014.bpo-29083.tGTjr_.rst deleted file mode 100644 index 639fc25c97..0000000000 --- a/Misc/NEWS.d/next/C API/014.bpo-29083.tGTjr_.rst +++ /dev/null @@ -1,5 +0,0 @@ -Fixed the declaration of some public API functions. PyArg_VaParse() and -PyArg_VaParseTupleAndKeywords() were not available in limited API. -PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue() -were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is -defined. diff --git a/Misc/NEWS.d/next/C API/015.bpo-27867.VMCoJU.rst b/Misc/NEWS.d/next/C API/015.bpo-27867.VMCoJU.rst deleted file mode 100644 index f2201feccd..0000000000 --- a/Misc/NEWS.d/next/C API/015.bpo-27867.VMCoJU.rst +++ /dev/null @@ -1,3 +0,0 @@ -Function PySlice_GetIndicesEx() is replaced with a macro if Py_LIMITED_API -is set to the value between 0x03050400 and 0x03060000 (not including) or -0x03060100 or higher. diff --git a/Misc/NEWS.d/next/Core and Builtins/088.bpo-29478.rTQ-qy.rst b/Misc/NEWS.d/next/Core and Builtins/088.bpo-29478.rTQ-qy.rst deleted file mode 100644 index a9d4bdbabd..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/088.bpo-29478.rTQ-qy.rst +++ /dev/null @@ -1,2 +0,0 @@ -If max_line_length=None is specified while using the Compat32 policy, it is -no longer ignored. Patch by Mircea Cosbuc. diff --git a/Misc/NEWS.d/next/Core and Builtins/089.bpo-29337.bjX8AE.rst b/Misc/NEWS.d/next/Core and Builtins/089.bpo-29337.bjX8AE.rst deleted file mode 100644 index 201325cbf6..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/089.bpo-29337.bjX8AE.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possible BytesWarning when compare the code objects. Warnings could be -emitted at compile time. diff --git a/Misc/NEWS.d/next/Core and Builtins/090.bpo-29319.KLDUZf.rst b/Misc/NEWS.d/next/Core and Builtins/090.bpo-29319.KLDUZf.rst deleted file mode 100644 index 254d8731d5..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/090.bpo-29319.KLDUZf.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent RunMainFromImporter overwriting sys.path[0]. diff --git a/Misc/NEWS.d/next/Core and Builtins/091.bpo-29438.IKxD6I.rst b/Misc/NEWS.d/next/Core and Builtins/091.bpo-29438.IKxD6I.rst deleted file mode 100644 index e3eecb6136..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/091.bpo-29438.IKxD6I.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed use-after-free problem in key sharing dict. diff --git a/Misc/NEWS.d/next/Core and Builtins/092.bpo-29347.1RPPGN.rst b/Misc/NEWS.d/next/Core and Builtins/092.bpo-29347.1RPPGN.rst deleted file mode 100644 index 35fa106664..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/092.bpo-29347.1RPPGN.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possibly dereferencing undefined pointers when creating weakref -objects. diff --git a/Misc/NEWS.d/next/Core and Builtins/093.bpo-29602.qyyskC.rst b/Misc/NEWS.d/next/Core and Builtins/093.bpo-29602.qyyskC.rst deleted file mode 100644 index cc1366caf3..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/093.bpo-29602.qyyskC.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix incorrect handling of signed zeros in complex constructor for complex -subclasses and for inputs having a __complex__ method. Patch by Serhiy -Storchaka. diff --git a/Misc/NEWS.d/next/Core and Builtins/094.bpo-28598.QxbzQn.rst b/Misc/NEWS.d/next/Core and Builtins/094.bpo-28598.QxbzQn.rst deleted file mode 100644 index 4757347a3d..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/094.bpo-28598.QxbzQn.rst +++ /dev/null @@ -1,2 +0,0 @@ -Support __rmod__ for subclasses of str being called before str.__mod__. -Patch by Martijn Pieters. diff --git a/Misc/NEWS.d/next/Core and Builtins/095.bpo-29537.lu1ysY.rst b/Misc/NEWS.d/next/Core and Builtins/095.bpo-29537.lu1ysY.rst deleted file mode 100644 index 3713ae8291..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/095.bpo-29537.lu1ysY.rst +++ /dev/null @@ -1,5 +0,0 @@ -Restore runtime compatibility with bytecode files generated by CPython 3.5.0 -to 3.5.2, and adjust the eval loop to avoid the problems that could be -caused by the malformed variant of the BUILD_MAP_UNPACK_WITH_CALL opcode -that they may contain. Patch by Petr Viktorin, Serhiy Storchaka, and Nick -Coghlan. diff --git a/Misc/NEWS.d/next/Core and Builtins/096.bpo-29600.77wQ6C.rst b/Misc/NEWS.d/next/Core and Builtins/096.bpo-29600.77wQ6C.rst deleted file mode 100644 index 136538de3b..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/096.bpo-29600.77wQ6C.rst +++ /dev/null @@ -1 +0,0 @@ -Fix wrapping coroutine return values in StopIteration. diff --git a/Misc/NEWS.d/next/Core and Builtins/097.bpo-28876.cU-sGT.rst b/Misc/NEWS.d/next/Core and Builtins/097.bpo-28876.cU-sGT.rst deleted file mode 100644 index 76c09e34e1..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/097.bpo-28876.cU-sGT.rst +++ /dev/null @@ -1 +0,0 @@ -``bool(range)`` works even if ``len(range)`` raises :exc:`OverflowError`. diff --git a/Misc/NEWS.d/next/Core and Builtins/098.bpo-29935.vgjdJo.rst b/Misc/NEWS.d/next/Core and Builtins/098.bpo-29935.vgjdJo.rst deleted file mode 100644 index 6f96cded83..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/098.bpo-29935.vgjdJo.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed error messages in the index() method of tuple, list and deque when -pass indices of wrong type. diff --git a/Misc/NEWS.d/next/Core and Builtins/099.bpo-25794.xfPwqm.rst b/Misc/NEWS.d/next/Core and Builtins/099.bpo-25794.xfPwqm.rst deleted file mode 100644 index de46584a64..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/099.bpo-25794.xfPwqm.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed type.__setattr__() and type.__delattr__() for non-interned attribute -names. Based on patch by Eryk Sun. diff --git a/Misc/NEWS.d/next/Core and Builtins/100.bpo-27945.p29r3O.rst b/Misc/NEWS.d/next/Core and Builtins/100.bpo-27945.p29r3O.rst deleted file mode 100644 index da5b8d1a2c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/100.bpo-27945.p29r3O.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed various segfaults with dict when input collections are mutated during -searching, inserting or comparing. Based on patches by Duane Griffin and -Tim Mitchell. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst b/Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst deleted file mode 100644 index 08d76cb965..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid blocking in pthread_mutex_lock() when PyThread_acquire_lock() is asked -not to block. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-07-11-06-31-32.bpo-30876.x35jZX.rst b/Misc/NEWS.d/next/Core and Builtins/2017-07-11-06-31-32.bpo-30876.x35jZX.rst deleted file mode 100644 index 4f3f4d2919..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-07-11-06-31-32.bpo-30876.x35jZX.rst +++ /dev/null @@ -1,3 +0,0 @@ -Relative import from unloaded package now reimports the package instead of -failing with SystemError. Relative import from non-package now fails with -ImportError rather than SystemError. diff --git a/Misc/NEWS.d/next/Documentation/008.bpo-29349.PjSo-t.rst b/Misc/NEWS.d/next/Documentation/008.bpo-29349.PjSo-t.rst deleted file mode 100644 index 09f6f3889b..0000000000 --- a/Misc/NEWS.d/next/Documentation/008.bpo-29349.PjSo-t.rst +++ /dev/null @@ -1 +0,0 @@ -Fix Python 2 syntax in code for building the documentation. diff --git a/Misc/NEWS.d/next/Documentation/009.bpo-26355.SDq_8Y.rst b/Misc/NEWS.d/next/Documentation/009.bpo-26355.SDq_8Y.rst deleted file mode 100644 index 2614c0ba85..0000000000 --- a/Misc/NEWS.d/next/Documentation/009.bpo-26355.SDq_8Y.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add canonical header link on each page to corresponding major version of the -documentation. Patch by Matthias Bussonnier. diff --git a/Misc/NEWS.d/next/Documentation/010.bpo-25008.CeIzyU.rst b/Misc/NEWS.d/next/Documentation/010.bpo-25008.CeIzyU.rst deleted file mode 100644 index ea4046ead7..0000000000 --- a/Misc/NEWS.d/next/Documentation/010.bpo-25008.CeIzyU.rst +++ /dev/null @@ -1,2 +0,0 @@ -Document smtpd.py as effectively deprecated and add a pointer to aiosmtpd, a -third-party asyncio-based replacement. diff --git a/Misc/NEWS.d/next/Documentation/011.bpo-28929.Md7kb0.rst b/Misc/NEWS.d/next/Documentation/011.bpo-28929.Md7kb0.rst deleted file mode 100644 index acacdd0132..0000000000 --- a/Misc/NEWS.d/next/Documentation/011.bpo-28929.Md7kb0.rst +++ /dev/null @@ -1 +0,0 @@ -Link the documentation to its source file on GitHub. diff --git a/Misc/NEWS.d/next/Documentation/012.bpo-26985.NB5_9S.rst b/Misc/NEWS.d/next/Documentation/012.bpo-26985.NB5_9S.rst deleted file mode 100644 index 3413e05475..0000000000 --- a/Misc/NEWS.d/next/Documentation/012.bpo-26985.NB5_9S.rst +++ /dev/null @@ -1 +0,0 @@ -Add missing info of code object in inspect documentation. diff --git a/Misc/NEWS.d/next/Documentation/013.bpo-30176.VivmCg.rst b/Misc/NEWS.d/next/Documentation/013.bpo-30176.VivmCg.rst deleted file mode 100644 index df73aeda64..0000000000 --- a/Misc/NEWS.d/next/Documentation/013.bpo-30176.VivmCg.rst +++ /dev/null @@ -1 +0,0 @@ -Add missing attribute related constants in curses documentation. diff --git a/Misc/NEWS.d/next/Library/018.bpo-29142.xo6kAv.rst b/Misc/NEWS.d/next/Library/018.bpo-29142.xo6kAv.rst deleted file mode 100644 index fd5465baa9..0000000000 --- a/Misc/NEWS.d/next/Library/018.bpo-29142.xo6kAv.rst +++ /dev/null @@ -1,3 +0,0 @@ -In urllib.request, suffixes in no_proxy environment variable with leading -dots could match related hostnames again (e.g. .b.c matches a.b.c). Patch by -Milan Oberkirch. diff --git a/Misc/NEWS.d/next/Library/019.bpo-28969.j3HJYO.rst b/Misc/NEWS.d/next/Library/019.bpo-28969.j3HJYO.rst deleted file mode 100644 index f2a4171294..0000000000 --- a/Misc/NEWS.d/next/Library/019.bpo-28969.j3HJYO.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed race condition in C implementation of functools.lru_cache. KeyError -could be raised when cached function with full cache was simultaneously -called from differen threads with the same uncached arguments. diff --git a/Misc/NEWS.d/next/Library/020.bpo-29219.kxui7t.rst b/Misc/NEWS.d/next/Library/020.bpo-29219.kxui7t.rst deleted file mode 100644 index ab6725f596..0000000000 --- a/Misc/NEWS.d/next/Library/020.bpo-29219.kxui7t.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed infinite recursion in the repr of uninitialized ctypes.CDLL instances. diff --git a/Misc/NEWS.d/next/Library/021.bpo-29011.MI5f2R.rst b/Misc/NEWS.d/next/Library/021.bpo-29011.MI5f2R.rst deleted file mode 100644 index 4d71b40753..0000000000 --- a/Misc/NEWS.d/next/Library/021.bpo-29011.MI5f2R.rst +++ /dev/null @@ -1 +0,0 @@ -Fix an important omission by adding Deque to the typing module. diff --git a/Misc/NEWS.d/next/Library/022.bpo-28735.admHLO.rst b/Misc/NEWS.d/next/Library/022.bpo-28735.admHLO.rst deleted file mode 100644 index 1ec6247bb9..0000000000 --- a/Misc/NEWS.d/next/Library/022.bpo-28735.admHLO.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed the comparison of mock.MagickMock with mock.ANY. diff --git a/Misc/NEWS.d/next/Library/023.bpo-29290.XBqptF.rst b/Misc/NEWS.d/next/Library/023.bpo-29290.XBqptF.rst deleted file mode 100644 index a4ac1f0725..0000000000 --- a/Misc/NEWS.d/next/Library/023.bpo-29290.XBqptF.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a regression in argparse that help messages would wrap at non-breaking -spaces. diff --git a/Misc/NEWS.d/next/Library/024.bpo-29335._KC7IK.rst b/Misc/NEWS.d/next/Library/024.bpo-29335._KC7IK.rst deleted file mode 100644 index 79e1748229..0000000000 --- a/Misc/NEWS.d/next/Library/024.bpo-29335._KC7IK.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix subprocess.Popen.wait() when the child process has exited to a stopped -instead of terminated state (ex: when under ptrace). diff --git a/Misc/NEWS.d/next/Library/025.bpo-29444.cEwgmk.rst b/Misc/NEWS.d/next/Library/025.bpo-29444.cEwgmk.rst deleted file mode 100644 index 05e96fb79d..0000000000 --- a/Misc/NEWS.d/next/Library/025.bpo-29444.cEwgmk.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed out-of-bounds buffer access in the group() method of the match object. -Based on patch by WGH. diff --git a/Misc/NEWS.d/next/Library/026.bpo-29416.KJGyI_.rst b/Misc/NEWS.d/next/Library/026.bpo-29416.KJGyI_.rst deleted file mode 100644 index b0b9838b37..0000000000 --- a/Misc/NEWS.d/next/Library/026.bpo-29416.KJGyI_.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent infinite loop in pathlib.Path.mkdir diff --git a/Misc/NEWS.d/next/Library/027.bpo-29519.oGGgZ4.rst b/Misc/NEWS.d/next/Library/027.bpo-29519.oGGgZ4.rst deleted file mode 100644 index 9b2e39d331..0000000000 --- a/Misc/NEWS.d/next/Library/027.bpo-29519.oGGgZ4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix weakref spewing exceptions during interpreter shutdown when used with a -rare combination of multiprocessing and custom codecs. diff --git a/Misc/NEWS.d/next/Library/028.bpo-29100.LAAERS.rst b/Misc/NEWS.d/next/Library/028.bpo-29100.LAAERS.rst deleted file mode 100644 index d12217a34b..0000000000 --- a/Misc/NEWS.d/next/Library/028.bpo-29100.LAAERS.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check -minimum and maximum years. diff --git a/Misc/NEWS.d/next/Library/029.bpo-28556.p6967e.rst b/Misc/NEWS.d/next/Library/029.bpo-28556.p6967e.rst deleted file mode 100644 index 5b1c326f48..0000000000 --- a/Misc/NEWS.d/next/Library/029.bpo-28556.p6967e.rst +++ /dev/null @@ -1,3 +0,0 @@ -Various updates to typing module: typing.Counter, typing.ChainMap, improved -ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan Levkivskyi, Manuel -Krebber, and Łukasz Langa. diff --git a/Misc/NEWS.d/next/Library/030.bpo-29532.YCwVQn.rst b/Misc/NEWS.d/next/Library/030.bpo-29532.YCwVQn.rst deleted file mode 100644 index 9e3a25e290..0000000000 --- a/Misc/NEWS.d/next/Library/030.bpo-29532.YCwVQn.rst +++ /dev/null @@ -1,2 +0,0 @@ -Altering a kwarg dictionary passed to functools.partial() no longer affects -a partial object after creation. diff --git a/Misc/NEWS.d/next/Library/031.bpo-28961.Rt93vg.rst b/Misc/NEWS.d/next/Library/031.bpo-28961.Rt93vg.rst deleted file mode 100644 index 31d81af985..0000000000 --- a/Misc/NEWS.d/next/Library/031.bpo-28961.Rt93vg.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix unittest.mock._Call helper: don't ignore the name parameter anymore. -Patch written by Jiajun Huang. diff --git a/Misc/NEWS.d/next/Library/032.bpo-29110.wmE-_T.rst b/Misc/NEWS.d/next/Library/032.bpo-29110.wmE-_T.rst deleted file mode 100644 index 10c495cb90..0000000000 --- a/Misc/NEWS.d/next/Library/032.bpo-29110.wmE-_T.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix file object leak in aifc.open() when file is given as a filesystem path -and is not in valid AIFF format. Patch by Anthony Zhang. diff --git a/Misc/NEWS.d/next/Library/033.bpo-29376.rrJhJy.rst b/Misc/NEWS.d/next/Library/033.bpo-29376.rrJhJy.rst deleted file mode 100644 index 5b610c4589..0000000000 --- a/Misc/NEWS.d/next/Library/033.bpo-29376.rrJhJy.rst +++ /dev/null @@ -1 +0,0 @@ -Fix assertion error in threading._DummyThread.is_alive(). diff --git a/Misc/NEWS.d/next/Library/034.bpo-29703.ZdsPCR.rst b/Misc/NEWS.d/next/Library/034.bpo-29703.ZdsPCR.rst deleted file mode 100644 index ce844f7b2b..0000000000 --- a/Misc/NEWS.d/next/Library/034.bpo-29703.ZdsPCR.rst +++ /dev/null @@ -1 +0,0 @@ -Fix asyncio to support instantiation of new event loops in child processes. diff --git a/Misc/NEWS.d/next/Library/035.bpo-29704.WHbx27.rst b/Misc/NEWS.d/next/Library/035.bpo-29704.WHbx27.rst deleted file mode 100644 index c371cedc08..0000000000 --- a/Misc/NEWS.d/next/Library/035.bpo-29704.WHbx27.rst +++ /dev/null @@ -1,2 +0,0 @@ -asyncio.subprocess.SubprocessStreamProtocol no longer closes before all -pipes are closed. diff --git a/Misc/NEWS.d/next/Library/036.bpo-29615.OpFKzg.rst b/Misc/NEWS.d/next/Library/036.bpo-29615.OpFKzg.rst deleted file mode 100644 index 4cef50404a..0000000000 --- a/Misc/NEWS.d/next/Library/036.bpo-29615.OpFKzg.rst +++ /dev/null @@ -1,2 +0,0 @@ -SimpleXMLRPCDispatcher no longer chains KeyError (or any other exception) to -exception(s) raised in the dispatched methods. Patch by Petr Motejlek. diff --git a/Misc/NEWS.d/next/Library/037.bpo-28298.xfm84U.rst b/Misc/NEWS.d/next/Library/037.bpo-28298.xfm84U.rst deleted file mode 100644 index fd97c125e6..0000000000 --- a/Misc/NEWS.d/next/Library/037.bpo-28298.xfm84U.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a bug that prevented array 'Q', 'L' and 'I' from accepting big intables -(objects that have __int__) as elements. Patch by Oren Milman. diff --git a/Misc/NEWS.d/next/Library/038.bpo-8256.jAwGQH.rst b/Misc/NEWS.d/next/Library/038.bpo-8256.jAwGQH.rst deleted file mode 100644 index 3a9fc7c07b..0000000000 --- a/Misc/NEWS.d/next/Library/038.bpo-8256.jAwGQH.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possible failing or crashing input() if attributes "encoding" or -"errors" of sys.stdin or sys.stdout are not set or are not strings. diff --git a/Misc/NEWS.d/next/Library/039.bpo-29742.8hqfEO.rst b/Misc/NEWS.d/next/Library/039.bpo-29742.8hqfEO.rst deleted file mode 100644 index af487f02ef..0000000000 --- a/Misc/NEWS.d/next/Library/039.bpo-29742.8hqfEO.rst +++ /dev/null @@ -1,2 +0,0 @@ -get_extra_info() raises exception if get called on closed ssl transport. -Patch by Nikolay Kim. diff --git a/Misc/NEWS.d/next/Library/040.bpo-29800.d2xASa.rst b/Misc/NEWS.d/next/Library/040.bpo-29800.d2xASa.rst deleted file mode 100644 index e4aba4b88e..0000000000 --- a/Misc/NEWS.d/next/Library/040.bpo-29800.d2xASa.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix crashes in partial.__repr__ if the keys of partial.keywords are not -strings. Patch by Michael Seifert. diff --git a/Misc/NEWS.d/next/Library/041.bpo-25455.ZsahHN.rst b/Misc/NEWS.d/next/Library/041.bpo-25455.ZsahHN.rst deleted file mode 100644 index ee68d5b6c8..0000000000 --- a/Misc/NEWS.d/next/Library/041.bpo-25455.ZsahHN.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed crashes in repr of recursive buffered file-like objects. diff --git a/Misc/NEWS.d/next/Library/042.bpo-29884.kWXR8W.rst b/Misc/NEWS.d/next/Library/042.bpo-29884.kWXR8W.rst deleted file mode 100644 index 90b5f0cf9a..0000000000 --- a/Misc/NEWS.d/next/Library/042.bpo-29884.kWXR8W.rst +++ /dev/null @@ -1,2 +0,0 @@ -faulthandler: Restore the old sigaltstack during teardown. Patch by -Christophe Zeitouny. diff --git a/Misc/NEWS.d/next/Library/043.bpo-29861.t2ZoRK.rst b/Misc/NEWS.d/next/Library/043.bpo-29861.t2ZoRK.rst deleted file mode 100644 index c14091ab5b..0000000000 --- a/Misc/NEWS.d/next/Library/043.bpo-29861.t2ZoRK.rst +++ /dev/null @@ -1,2 +0,0 @@ -Release references to tasks, their arguments and their results as soon as -they are finished in multiprocessing.Pool. diff --git a/Misc/NEWS.d/next/Library/044.bpo-25803.CPDR0W.rst b/Misc/NEWS.d/next/Library/044.bpo-25803.CPDR0W.rst deleted file mode 100644 index 2ca8488f39..0000000000 --- a/Misc/NEWS.d/next/Library/044.bpo-25803.CPDR0W.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid incorrect errors raised by Path.mkdir(exist_ok=True) when the OS gives -priority to errors such as EACCES over EEXIST. diff --git a/Misc/NEWS.d/next/Library/045.bpo-28699.wZztZP.rst b/Misc/NEWS.d/next/Library/045.bpo-28699.wZztZP.rst deleted file mode 100644 index 5ea6808390..0000000000 --- a/Misc/NEWS.d/next/Library/045.bpo-28699.wZztZP.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed a bug in pools in multiprocessing.pool that raising an exception at -the very first of an iterable may swallow the exception or make the program -hang. Patch by Davin Potts and Xiang Zhang. diff --git a/Misc/NEWS.d/next/Library/046.bpo-27863.pPYHHI.rst b/Misc/NEWS.d/next/Library/046.bpo-27863.pPYHHI.rst deleted file mode 100644 index 49f0f03d7b..0000000000 --- a/Misc/NEWS.d/next/Library/046.bpo-27863.pPYHHI.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed multiple crashes in ElementTree caused by race conditions and wrong -types. diff --git a/Misc/NEWS.d/next/Library/047.bpo-29942.CsGNuT.rst b/Misc/NEWS.d/next/Library/047.bpo-29942.CsGNuT.rst deleted file mode 100644 index 39b8ba8f3e..0000000000 --- a/Misc/NEWS.d/next/Library/047.bpo-29942.CsGNuT.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a crash in itertools.chain.from_iterable when encountering long runs of -empty iterables. diff --git a/Misc/NEWS.d/next/Library/048.bpo-29998.poeIKD.rst b/Misc/NEWS.d/next/Library/048.bpo-29998.poeIKD.rst deleted file mode 100644 index 1999770e5d..0000000000 --- a/Misc/NEWS.d/next/Library/048.bpo-29998.poeIKD.rst +++ /dev/null @@ -1 +0,0 @@ -Pickling and copying ImportError now preserves name and path attributes. diff --git a/Misc/NEWS.d/next/Library/049.bpo-29692.oyWrAE.rst b/Misc/NEWS.d/next/Library/049.bpo-29692.oyWrAE.rst deleted file mode 100644 index 118475deca..0000000000 --- a/Misc/NEWS.d/next/Library/049.bpo-29692.oyWrAE.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed arbitrary unchaining of RuntimeError exceptions in -contextlib.contextmanager. Patch by Siddharth Velankar. diff --git a/Misc/NEWS.d/next/Library/050.bpo-29694.LWKxb1.rst b/Misc/NEWS.d/next/Library/050.bpo-29694.LWKxb1.rst deleted file mode 100644 index fd91668c3d..0000000000 --- a/Misc/NEWS.d/next/Library/050.bpo-29694.LWKxb1.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed race condition in pathlib mkdir with flags parents=True. Patch by -Armin Rigo. diff --git a/Misc/NEWS.d/next/Library/051.bpo-30068.n4q47r.rst b/Misc/NEWS.d/next/Library/051.bpo-30068.n4q47r.rst deleted file mode 100644 index 429673b83a..0000000000 --- a/Misc/NEWS.d/next/Library/051.bpo-30068.n4q47r.rst +++ /dev/null @@ -1 +0,0 @@ -_io._IOBase.readlines will check if it's closed first when hint is present. diff --git a/Misc/NEWS.d/next/Library/052.bpo-30061.2w_dX9.rst b/Misc/NEWS.d/next/Library/052.bpo-30061.2w_dX9.rst deleted file mode 100644 index 0b181f6084..0000000000 --- a/Misc/NEWS.d/next/Library/052.bpo-30061.2w_dX9.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fixed crashes in IOBase methods __next__() and readlines() when readline() -or __next__() respectively return non-sizeable object. Fixed possible other -errors caused by not checking results of PyObject_Size(), PySequence_Size(), -or PyMapping_Size(). diff --git a/Misc/NEWS.d/next/Library/053.bpo-30070.XM_B41.rst b/Misc/NEWS.d/next/Library/053.bpo-30070.XM_B41.rst deleted file mode 100644 index 8e31371216..0000000000 --- a/Misc/NEWS.d/next/Library/053.bpo-30070.XM_B41.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed leaks and crashes in errors handling in the parser module. diff --git a/Misc/NEWS.d/next/Library/054.bpo-30205.BsxO34.rst b/Misc/NEWS.d/next/Library/054.bpo-30205.BsxO34.rst deleted file mode 100644 index 2692614a80..0000000000 --- a/Misc/NEWS.d/next/Library/054.bpo-30205.BsxO34.rst +++ /dev/null @@ -1 +0,0 @@ -Fix getsockname() for unbound AF_UNIX sockets on Linux. diff --git a/Misc/NEWS.d/next/Library/055.bpo-28556.51gjbP.rst b/Misc/NEWS.d/next/Library/055.bpo-28556.51gjbP.rst deleted file mode 100644 index dd8fc74567..0000000000 --- a/Misc/NEWS.d/next/Library/055.bpo-28556.51gjbP.rst +++ /dev/null @@ -1,3 +0,0 @@ -Various updates to typing module: add typing.NoReturn type, use -WrapperDescriptorType, minor bug-fixes. Original PRs by Jim Fasarakis- -Hilliard and Ivan Levkivskyi. diff --git a/Misc/NEWS.d/next/Library/056.bpo-30185.Tiu1n8.rst b/Misc/NEWS.d/next/Library/056.bpo-30185.Tiu1n8.rst deleted file mode 100644 index f19d47c7af..0000000000 --- a/Misc/NEWS.d/next/Library/056.bpo-30185.Tiu1n8.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid KeyboardInterrupt tracebacks in forkserver helper process when Ctrl-C -is received. diff --git a/Misc/NEWS.d/next/Library/057.bpo-30243.RHQt0v.rst b/Misc/NEWS.d/next/Library/057.bpo-30243.RHQt0v.rst deleted file mode 100644 index 6037eaf255..0000000000 --- a/Misc/NEWS.d/next/Library/057.bpo-30243.RHQt0v.rst +++ /dev/null @@ -1,3 +0,0 @@ -Removed the __init__ methods of _json's scanner and encoder. Misusing them -could cause memory leaks or crashes. Now scanner and encoder objects are -completely initialized in the __new__ methods. diff --git a/Misc/NEWS.d/next/Library/058.bpo-26293.wig0YG.rst b/Misc/NEWS.d/next/Library/058.bpo-26293.wig0YG.rst deleted file mode 100644 index ae97748164..0000000000 --- a/Misc/NEWS.d/next/Library/058.bpo-26293.wig0YG.rst +++ /dev/null @@ -1 +0,0 @@ -Change resulted because of zipfile breakage. (See also: bpo-29094) diff --git a/Misc/NEWS.d/next/Library/059.bpo-29990.HWV6KE.rst b/Misc/NEWS.d/next/Library/059.bpo-29990.HWV6KE.rst deleted file mode 100644 index 7a6793095f..0000000000 --- a/Misc/NEWS.d/next/Library/059.bpo-29990.HWV6KE.rst +++ /dev/null @@ -1 +0,0 @@ -Fix range checking in GB18030 decoder. Original patch by Ma Lin. diff --git a/Misc/NEWS.d/next/Library/060.bpo-30048.ELRx8R.rst b/Misc/NEWS.d/next/Library/060.bpo-30048.ELRx8R.rst deleted file mode 100644 index ee47a9e583..0000000000 --- a/Misc/NEWS.d/next/Library/060.bpo-30048.ELRx8R.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed ``Task.cancel()`` can be ignored when the task is running coroutine -and the coroutine returned without any more ``await``. diff --git a/Misc/NEWS.d/next/Library/061.bpo-30375.9c8qM7.rst b/Misc/NEWS.d/next/Library/061.bpo-30375.9c8qM7.rst deleted file mode 100644 index cb0f7eb038..0000000000 --- a/Misc/NEWS.d/next/Library/061.bpo-30375.9c8qM7.rst +++ /dev/null @@ -1,3 +0,0 @@ -Warnings emitted when compile a regular expression now always point to the -line in the user code. Previously they could point into inners of the re -module if emitted from inside of groups or conditionals. diff --git a/Misc/NEWS.d/next/Library/062.bpo-30329.EuT36N.rst b/Misc/NEWS.d/next/Library/062.bpo-30329.EuT36N.rst deleted file mode 100644 index d9d7be37e4..0000000000 --- a/Misc/NEWS.d/next/Library/062.bpo-30329.EuT36N.rst +++ /dev/null @@ -1,3 +0,0 @@ -imaplib and poplib now catch the Windows socket WSAEINVAL error (code 10022) -on shutdown(SHUT_RDWR): An invalid operation was attempted. This error -occurs sometimes on SSL connections. diff --git a/Misc/NEWS.d/next/Library/063.bpo-30301.ywOkjN.rst b/Misc/NEWS.d/next/Library/063.bpo-30301.ywOkjN.rst deleted file mode 100644 index 0479f10483..0000000000 --- a/Misc/NEWS.d/next/Library/063.bpo-30301.ywOkjN.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix AttributeError when using SimpleQueue.empty() under *spawn* and -*forkserver* start methods. diff --git a/Misc/NEWS.d/next/Library/064.bpo-30003.BOl9HE.rst b/Misc/NEWS.d/next/Library/064.bpo-30003.BOl9HE.rst deleted file mode 100644 index ac449728fd..0000000000 --- a/Misc/NEWS.d/next/Library/064.bpo-30003.BOl9HE.rst +++ /dev/null @@ -1 +0,0 @@ -Fix handling escape characters in HZ codec. Based on patch by Ma Lin. diff --git a/Misc/NEWS.d/next/Library/065.bpo-30414.jGl1Lb.rst b/Misc/NEWS.d/next/Library/065.bpo-30414.jGl1Lb.rst deleted file mode 100644 index 3bd0a23069..0000000000 --- a/Misc/NEWS.d/next/Library/065.bpo-30414.jGl1Lb.rst +++ /dev/null @@ -1,2 +0,0 @@ -multiprocessing.Queue._feed background running thread do not break from main -loop on exception. diff --git a/Misc/NEWS.d/next/Library/066.bpo-29960.g0wr3r.rst b/Misc/NEWS.d/next/Library/066.bpo-29960.g0wr3r.rst deleted file mode 100644 index 0b37a4b96d..0000000000 --- a/Misc/NEWS.d/next/Library/066.bpo-29960.g0wr3r.rst +++ /dev/null @@ -1,2 +0,0 @@ -Preserve generator state when _random.Random.setstate() raises an exception. -Patch by Bryan Olson. diff --git a/Misc/NEWS.d/next/Library/067.bpo-30378.R_19_5.rst b/Misc/NEWS.d/next/Library/067.bpo-30378.R_19_5.rst deleted file mode 100644 index 5994abe142..0000000000 --- a/Misc/NEWS.d/next/Library/067.bpo-30378.R_19_5.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the problem that logging.handlers.SysLogHandler cannot handle IPv6 -addresses. diff --git a/Misc/NEWS.d/next/Library/068.bpo-30418.EwISQm.rst b/Misc/NEWS.d/next/Library/068.bpo-30418.EwISQm.rst deleted file mode 100644 index 43e149daff..0000000000 --- a/Misc/NEWS.d/next/Library/068.bpo-30418.EwISQm.rst +++ /dev/null @@ -1,2 +0,0 @@ -On Windows, subprocess.Popen.communicate() now also ignore EINVAL on -stdin.write() if the child process is still running but closed the pipe. diff --git a/Misc/NEWS.d/next/Library/069.bpo-27585.0Ugqqu.rst b/Misc/NEWS.d/next/Library/069.bpo-27585.0Ugqqu.rst deleted file mode 100644 index 3e31ab1b85..0000000000 --- a/Misc/NEWS.d/next/Library/069.bpo-27585.0Ugqqu.rst +++ /dev/null @@ -1 +0,0 @@ -Fix waiter cancellation in asyncio.Lock. Patch by Mathieu Sornay. diff --git a/Misc/NEWS.d/next/Library/070.bpo-29743.en2P4s.rst b/Misc/NEWS.d/next/Library/070.bpo-29743.en2P4s.rst deleted file mode 100644 index c4264b45ce..0000000000 --- a/Misc/NEWS.d/next/Library/070.bpo-29743.en2P4s.rst +++ /dev/null @@ -1,2 +0,0 @@ -Closing transport during handshake process leaks open socket. Patch by -Nikolay Kim diff --git a/Misc/NEWS.d/next/Library/071.bpo-29870.p960Ih.rst b/Misc/NEWS.d/next/Library/071.bpo-29870.p960Ih.rst deleted file mode 100644 index 55b78a7a79..0000000000 --- a/Misc/NEWS.d/next/Library/071.bpo-29870.p960Ih.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix ssl sockets leaks when connection is aborted in asyncio/ssl -implementation. Patch by Michaël Sghaïer. diff --git a/Misc/NEWS.d/next/Library/072.bpo-28556.mESP7G.rst b/Misc/NEWS.d/next/Library/072.bpo-28556.mESP7G.rst deleted file mode 100644 index 96a4eeb3cb..0000000000 --- a/Misc/NEWS.d/next/Library/072.bpo-28556.mESP7G.rst +++ /dev/null @@ -1,3 +0,0 @@ -Updates to typing module: Add generic AsyncContextManager, add support for -ContextManager on all versions. Original PRs by Jelle Zijlstra and Ivan -Levkivskyi diff --git a/Misc/NEWS.d/next/Library/073.bpo-30508.wNWRS2.rst b/Misc/NEWS.d/next/Library/073.bpo-30508.wNWRS2.rst deleted file mode 100644 index c0322082e8..0000000000 --- a/Misc/NEWS.d/next/Library/073.bpo-30508.wNWRS2.rst +++ /dev/null @@ -1 +0,0 @@ -Don't log exceptions if Task/Future "cancel()" method was called. diff --git a/Misc/NEWS.d/next/Library/074.bpo-28994.9vzun1.rst b/Misc/NEWS.d/next/Library/074.bpo-28994.9vzun1.rst deleted file mode 100644 index 80de944b4e..0000000000 --- a/Misc/NEWS.d/next/Library/074.bpo-28994.9vzun1.rst +++ /dev/null @@ -1,2 +0,0 @@ -The traceback no longer displayed for SystemExit raised in a callback -registered by atexit. diff --git a/Misc/NEWS.d/next/Library/075.bpo-24484.vFem8K.rst b/Misc/NEWS.d/next/Library/075.bpo-24484.vFem8K.rst deleted file mode 100644 index ac5b648a25..0000000000 --- a/Misc/NEWS.d/next/Library/075.bpo-24484.vFem8K.rst +++ /dev/null @@ -1 +0,0 @@ -Avoid race condition in multiprocessing cleanup. diff --git a/Misc/NEWS.d/next/Library/077.bpo-29931.tfcTwK.rst b/Misc/NEWS.d/next/Library/077.bpo-29931.tfcTwK.rst deleted file mode 100644 index cb098ff6b0..0000000000 --- a/Misc/NEWS.d/next/Library/077.bpo-29931.tfcTwK.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed comparison check for ipaddress.ip_interface objects. Patch by Sanjay -Sundaresan. diff --git a/Misc/NEWS.d/next/Library/078.bpo-30149.hE649r.rst b/Misc/NEWS.d/next/Library/078.bpo-30149.hE649r.rst deleted file mode 100644 index 44a69f47ce..0000000000 --- a/Misc/NEWS.d/next/Library/078.bpo-30149.hE649r.rst +++ /dev/null @@ -1,2 +0,0 @@ -inspect.signature() now supports callables with variable-argument parameters -wrapped with partialmethod. Patch by Dong-hee Na. diff --git a/Misc/NEWS.d/next/Library/079.bpo-23890.GCFAAZ.rst b/Misc/NEWS.d/next/Library/079.bpo-23890.GCFAAZ.rst deleted file mode 100644 index 7a589f1dcd..0000000000 --- a/Misc/NEWS.d/next/Library/079.bpo-23890.GCFAAZ.rst +++ /dev/null @@ -1,2 +0,0 @@ -unittest.TestCase.assertRaises() now manually breaks a reference cycle to -not keep objects alive longer than expected. diff --git a/Misc/NEWS.d/next/Library/080.bpo-30645.oYzbbW.rst b/Misc/NEWS.d/next/Library/080.bpo-30645.oYzbbW.rst deleted file mode 100644 index be8637f9fc..0000000000 --- a/Misc/NEWS.d/next/Library/080.bpo-30645.oYzbbW.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix path calculation in imp.load_package(), fixing it for cases when a -package is only shipped with bytecodes. Patch by Alexandru Ardelean. diff --git a/Misc/NEWS.d/next/Library/082.bpo-29755.diQcY_.rst b/Misc/NEWS.d/next/Library/082.bpo-29755.diQcY_.rst deleted file mode 100644 index f4f1b277c1..0000000000 --- a/Misc/NEWS.d/next/Library/082.bpo-29755.diQcY_.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed the lgettext() family of functions in the gettext module. They now -always return bytes. diff --git a/Misc/NEWS.d/next/Library/085.bpo-30746.7drQI0.rst b/Misc/NEWS.d/next/Library/085.bpo-30746.7drQI0.rst deleted file mode 100644 index 94803bb5f1..0000000000 --- a/Misc/NEWS.d/next/Library/085.bpo-30746.7drQI0.rst +++ /dev/null @@ -1,2 +0,0 @@ -Prohibited the '=' character in environment variable names in -``os.putenv()`` and ``os.spawn*()``. diff --git a/Misc/NEWS.d/next/Library/086.bpo-30879.N3KI-o.rst b/Misc/NEWS.d/next/Library/086.bpo-30879.N3KI-o.rst deleted file mode 100644 index 862c114aef..0000000000 --- a/Misc/NEWS.d/next/Library/086.bpo-30879.N3KI-o.rst +++ /dev/null @@ -1,2 +0,0 @@ -os.listdir() and os.scandir() now emit bytes names when called with bytes- -like argument. diff --git a/Misc/NEWS.d/next/Library/087.bpo-29169.8ypApm.rst b/Misc/NEWS.d/next/Library/087.bpo-29169.8ypApm.rst deleted file mode 100644 index 96d066d41d..0000000000 --- a/Misc/NEWS.d/next/Library/087.bpo-29169.8ypApm.rst +++ /dev/null @@ -1 +0,0 @@ -Update zlib to 1.2.11. diff --git a/Misc/NEWS.d/next/Library/2017-06-26-11-01-59.bpo-30532.qTeL1o.rst b/Misc/NEWS.d/next/Library/2017-06-26-11-01-59.bpo-30532.qTeL1o.rst deleted file mode 100644 index adce85fbc2..0000000000 --- a/Misc/NEWS.d/next/Library/2017-06-26-11-01-59.bpo-30532.qTeL1o.rst +++ /dev/null @@ -1 +0,0 @@ -Fix email header value parser dropping folding white space in certain cases. diff --git a/Misc/NEWS.d/next/Library/2017-06-29-14-25-14.bpo-30441.3Wh9kc.rst b/Misc/NEWS.d/next/Library/2017-06-29-14-25-14.bpo-30441.3Wh9kc.rst deleted file mode 100644 index 55dd6136c8..0000000000 --- a/Misc/NEWS.d/next/Library/2017-06-29-14-25-14.bpo-30441.3Wh9kc.rst +++ /dev/null @@ -1 +0,0 @@ -Fix bug when modifying os.environ while iterating over it diff --git a/Misc/NEWS.d/next/Library/2017-06-29-22-04-44.bpo-30807.sLtjY-.rst b/Misc/NEWS.d/next/Library/2017-06-29-22-04-44.bpo-30807.sLtjY-.rst deleted file mode 100644 index ce6f48a61f..0000000000 --- a/Misc/NEWS.d/next/Library/2017-06-29-22-04-44.bpo-30807.sLtjY-.rst +++ /dev/null @@ -1,6 +0,0 @@ -signal.setitimer() may disable the timer when passed a tiny value. - -Tiny values (such as 1e-6) are valid non-zero values for setitimer(), which -is specified as taking microsecond-resolution intervals. However, on some -platform, our conversion routine could convert 1e-6 into a zero interval, -therefore disabling the timer instead of (re-)scheduling it. diff --git a/Misc/NEWS.d/next/Library/2017-07-07-02-18-57.bpo-29854.J8wKb_.rst b/Misc/NEWS.d/next/Library/2017-07-07-02-18-57.bpo-29854.J8wKb_.rst deleted file mode 100644 index 5c439087dc..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-07-02-18-57.bpo-29854.J8wKb_.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix segfault in readline when using readline's history-size option. Patch -by Nir Soffer. diff --git a/Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst b/Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst deleted file mode 100644 index fedd6cd047..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix multiprocessing.Queue.join_thread(): it now waits until the thread -completes, even if the thread was started by the same process which created -the queue. diff --git a/Misc/NEWS.d/next/Library/2017-07-18-23-47-51.bpo-30961.064jz0.rst b/Misc/NEWS.d/next/Library/2017-07-18-23-47-51.bpo-30961.064jz0.rst deleted file mode 100644 index b89c6d4769..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-18-23-47-51.bpo-30961.064jz0.rst +++ /dev/null @@ -1 +0,0 @@ -Fix decrementing a borrowed reference in tracemalloc. diff --git a/Misc/NEWS.d/next/Library/2017-07-20-02-29-49.bpo-29403.3RinCV.rst b/Misc/NEWS.d/next/Library/2017-07-20-02-29-49.bpo-29403.3RinCV.rst deleted file mode 100644 index 95bcd1007d..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-20-02-29-49.bpo-29403.3RinCV.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix ``unittest.mock``'s autospec to not fail on method-bound builtin -functions. Patch by Aaron Gallagher. diff --git a/Misc/NEWS.d/next/Security/076.bpo-29591.ExKblw.rst b/Misc/NEWS.d/next/Security/076.bpo-29591.ExKblw.rst deleted file mode 100644 index 7394ac2ff0..0000000000 --- a/Misc/NEWS.d/next/Security/076.bpo-29591.ExKblw.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. original section: Library - -Update expat copy from 2.1.1 to 2.2.0 to get fixes of CVE-2016-0718 and -CVE-2016-4472. See https://sourceforge.net/p/expat/bugs/537/ for more -information. diff --git a/Misc/NEWS.d/next/Security/081.bpo-30500.1VG7R-.rst b/Misc/NEWS.d/next/Security/081.bpo-30500.1VG7R-.rst deleted file mode 100644 index adf464567b..0000000000 --- a/Misc/NEWS.d/next/Security/081.bpo-30500.1VG7R-.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. original section: Library - -Fix urllib.parse.splithost() to correctly parse fragments. For example, -``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the -``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an -authentification (``login@host``). diff --git a/Misc/NEWS.d/next/Security/083.bpo-30694.WkMWM_.rst b/Misc/NEWS.d/next/Security/083.bpo-30694.WkMWM_.rst deleted file mode 100644 index ebbd359e63..0000000000 --- a/Misc/NEWS.d/next/Security/083.bpo-30694.WkMWM_.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. original section: Library - -Upgrade expat copy from 2.2.0 to 2.2.1 to get fixes of multiple security -vulnerabilities including: CVE-2017-9233 (External entity infinite loop -DoS), CVE-2016-9063 (Integer overflow, re-fix), CVE-2016-0718 (Fix -regression bugs from 2.2.0's fix to CVE-2016-0718) and CVE-2012-0876 -(Counter hash flooding with SipHash). Note: the CVE-2016-5300 (Use os- -specific entropy sources like getrandom) doesn't impact Python, since Python -already gets entropy from the OS to set the expat secret using -``XML_SetHashSalt()``. diff --git a/Misc/NEWS.d/next/Security/084.bpo-30730.rJsyTH.rst b/Misc/NEWS.d/next/Security/084.bpo-30730.rJsyTH.rst deleted file mode 100644 index 008aa706d4..0000000000 --- a/Misc/NEWS.d/next/Security/084.bpo-30730.rJsyTH.rst +++ /dev/null @@ -1,4 +0,0 @@ -.. original section: Library - -Prevent environment variables injection in subprocess on Windows. Prevent -passing other environment variables and command arguments. diff --git a/Misc/NEWS.d/next/Tests/001.bpo-29571.r6Dixr.rst b/Misc/NEWS.d/next/Tests/001.bpo-29571.r6Dixr.rst deleted file mode 100644 index ec4c9986ab..0000000000 --- a/Misc/NEWS.d/next/Tests/001.bpo-29571.r6Dixr.rst +++ /dev/null @@ -1,4 +0,0 @@ -to match the behaviour of the ``re.LOCALE`` flag, test_re.test_locale_flag -now uses ``locale.getpreferredencoding(False)`` to determine the candidate -encoding for the test regex (allowing it to correctly skip the test when the -default locale encoding is a multi-byte encoding) diff --git a/Misc/NEWS.d/next/Tests/002.bpo-30197.c5wRfu.rst b/Misc/NEWS.d/next/Tests/002.bpo-30197.c5wRfu.rst deleted file mode 100644 index 63461bb478..0000000000 --- a/Misc/NEWS.d/next/Tests/002.bpo-30197.c5wRfu.rst +++ /dev/null @@ -1,5 +0,0 @@ -Enhanced functions swap_attr() and swap_item() in the test.support module. -They now work when delete replaced attribute or item inside the with -statement. The old value of the attribute or item (or None if it doesn't -exist) now will be assigned to the target of the "as" clause, if there is -one. diff --git a/Misc/NEWS.d/next/Tests/003.bpo-28087.m8dc4R.rst b/Misc/NEWS.d/next/Tests/003.bpo-28087.m8dc4R.rst deleted file mode 100644 index 5e33e56ad4..0000000000 --- a/Misc/NEWS.d/next/Tests/003.bpo-28087.m8dc4R.rst +++ /dev/null @@ -1,3 +0,0 @@ -Skip test_asyncore and test_eintr poll failures on macOS. Skip some tests of -select.poll when running on macOS due to unresolved issues with the -underlying system poll function on some macOS versions. diff --git a/Misc/NEWS.d/next/Tests/004.bpo-30357.n4CPEa.rst b/Misc/NEWS.d/next/Tests/004.bpo-30357.n4CPEa.rst deleted file mode 100644 index c7e7b7f242..0000000000 --- a/Misc/NEWS.d/next/Tests/004.bpo-30357.n4CPEa.rst +++ /dev/null @@ -1,3 +0,0 @@ -test_thread: setUp() now uses support.threading_setup() and -support.threading_cleanup() to wait until threads complete to avoid random -side effects on following tests. Initial patch written by Grzegorz Grzywacz. diff --git a/Misc/NEWS.d/next/Tests/2017-06-27-13-52-43.bpo-30383.rCmrv7.rst b/Misc/NEWS.d/next/Tests/2017-06-27-13-52-43.bpo-30383.rCmrv7.rst deleted file mode 100644 index 046e8c9cc0..0000000000 --- a/Misc/NEWS.d/next/Tests/2017-06-27-13-52-43.bpo-30383.rCmrv7.rst +++ /dev/null @@ -1,14 +0,0 @@ -regrtest: Enhance regrtest and backport features from the master branch. - -Add options: --coverage, --testdir, --list-tests (list test files, don't run -them), --list-cases (list test identifiers, don't run them, :issue:`30523`), ---matchfile (load a list of test filters from a text file, :issue:`30540`), ---slowest (alias to --slow). - -Enhance output: add timestamp, test result, currently running tests, "Tests -result: xxx" summary with total duration, etc. - -Fix reference leak hunting in regrtest, --huntrleaks: regrtest now warms up -caches, create explicitly all internal singletons which are created on -demand to prevent false positives when checking for reference leaks. -(:issue:`30675`). diff --git a/Misc/NEWS.d/next/Tests/2017-07-20-14-29-54.bpo-30822.X0wREo.rst b/Misc/NEWS.d/next/Tests/2017-07-20-14-29-54.bpo-30822.X0wREo.rst deleted file mode 100644 index ee0cf02c70..0000000000 --- a/Misc/NEWS.d/next/Tests/2017-07-20-14-29-54.bpo-30822.X0wREo.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix regrtest command line parser to allow passing -u extralargefile to -run test_zipfile64. diff --git a/Misc/NEWS.d/next/Windows/016.bpo-29392.OtqS5t.rst b/Misc/NEWS.d/next/Windows/016.bpo-29392.OtqS5t.rst deleted file mode 100644 index 881b2c8cd3..0000000000 --- a/Misc/NEWS.d/next/Windows/016.bpo-29392.OtqS5t.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent crash when passing invalid arguments into msvcrt module. diff --git a/Misc/NEWS.d/next/Windows/017.bpo-30687.8mqHnu.rst b/Misc/NEWS.d/next/Windows/017.bpo-30687.8mqHnu.rst deleted file mode 100644 index 9f37c075b8..0000000000 --- a/Misc/NEWS.d/next/Windows/017.bpo-30687.8mqHnu.rst +++ /dev/null @@ -1 +0,0 @@ -Locate msbuild.exe on Windows when building rather than vcvarsall.bat