From: Steve Dower Date: Sat, 4 Feb 2017 23:14:18 +0000 (-0800) Subject: Merge issue #28164 and issue #29409 X-Git-Tag: v3.7.0a1~1413 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43fec9b419512d67e94b26f7da24c8392e835517;p=python Merge issue #28164 and issue #29409 --- 43fec9b419512d67e94b26f7da24c8392e835517 diff --cc Misc/NEWS index 9c0262c5c4,b3947a14dc..03b6a19d1d --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -801,101 -190,17 +801,105 @@@ Test - Issue #26939: Add the support.setswitchinterval() function to fix test_functools hanging on the Android armv7 qemu emulator. -Build + +What's New in Python 3.6.1 release candidate 1? +=============================================== + +*Release date: XXXX-XX-XX* + +Core and Builtins +----------------- + +- Issue #28932: Do not include if it does not exist. + +- Issue #25677: Correct the positioning of the syntax error caret for + indented blocks. Based on patch by Michael Layzell. + +- Issue #29000: Fixed bytes formatting of octals with zero padding in alternate + form. + +- Issue #26919: On Android, operating system data is now always encoded/decoded + to/from UTF-8, instead of the locale encoding to avoid inconsistencies with + os.fsencode() and os.fsdecode() which are already using UTF-8. + +- Issue #28991: functools.lru_cache() was susceptible to an obscure reentrancy + bug triggerable by a monkey-patched len() function. + +- Issue #28739: f-string expressions are no longer accepted as docstrings and + by ast.literal_eval() even if they do not include expressions. + +- Issue #28512: Fixed setting the offset attribute of SyntaxError by + PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject(). + +- Issue #28918: Fix the cross compilation of xxlimited when Python has been + built with Py_DEBUG defined. + +- Issue #28731: Optimize _PyDict_NewPresized() to create correct size dict. + Improve speed of dict literal with constant keys up to 30%. + +Library +------- + +- Issue #29085: Allow random.Random.seed() to use high quality OS randomness + rather than the pid and time. + +- Issue 28923: Remove editor artifacts from Tix.py. + +- Issue #29055: Neaten-up empty population error on random.choice() + by suppressing the upstream exception. + +- Issue #28871: Fixed a crash when deallocate deep ElementTree. + +- Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and + WeakValueDictionary.pop() when a GC collection happens in another + thread. + +- Issue #20191: Fixed a crash in resource.prlimit() when passing a sequence that + doesn't own its elements as limits. + +- Issue #28779: multiprocessing.set_forkserver_preload() would crash the + forkserver process if a preloaded module instantiated some + multiprocessing objects such as locks. + +- Issue #28847: dbm.dumb now supports reading read-only files and no longer + writes the index file when it is not changed. + +- Issue #26937: The chown() method of the tarfile.TarFile class does not fail + now when the grp module cannot be imported, as for example on Android + platforms. + +Windows +------- + ++- Issue #28164: Correctly handle special console filenames (patch by Eryk Sun) ++ ++- Issue #29409: Implement PEP 529 for io.FileIO (Patch by Eryk Sun) ++ +- Issue #29392: Prevent crash when passing invalid arguments into msvcrt module. + +- Issue #25778: winreg does not truncate string correctly (Patch by Eryk Sun) + +- Issue #28896: Deprecate WindowsRegistryFinder and disable it by default. + +Documentation +------------- + +- Issue #29349: Fix Python 2 syntax in code for building the documentation. + +Tests ----- -- Issue #26851: Set Android compilation and link flags. +- Issue #28950: Disallow -j0 to be combined with -T/-l in regrtest + command line arguments. -- Issue #28768: Fix implicit declaration of function _setmode. Patch by - Masayuki Yamamoto +- Issue #28683: Fix the tests that bind() a unix socket and raise + PermissionError on Android for a non-root user. -- Issue #29080: Removes hard dependency on hg.exe from PCBuild/build.bat +- Issue #26939: Add the support.setswitchinterval() function to fix + test_functools hanging on the Android armv7 qemu emulator. -- Issue #23903: Added missed names to PC/python3.def. +Build +----- - Issue #28762: lockf() is available on Android API level 24, but the F_LOCK macro is not defined in android-ndk-r13.