From: Xavier de Gaye <xdegaye@users.sourceforge.net> Date: Thu, 22 Dec 2016 09:40:44 +0000 (+0100) Subject: Issue #28762: Merge 3.6. X-Git-Tag: v3.7.0a1~1700 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=507cbb0c0cc4d56065831a043aefe1571dce0c6f;p=python Issue #28762: Merge 3.6. --- 507cbb0c0cc4d56065831a043aefe1571dce0c6f diff --cc Misc/NEWS index d4bad0993f,b9644df972..81e5043aac --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -581,123 -692,50 +581,126 @@@ Documentatio Build ----- -- Issue #28258: Fixed build with Estonian locale (python-config and distclean - targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis. ++- Issue #28762: lockf() is available on Android API level 24, but the F_LOCK ++ macro is not defined in android-ndk-r13. + -- Issue #26661: setup.py now detects system libffi with multiarch wrapper. +- Issue #28538: Fix the compilation error that occurs because if_nameindex() is + available on Android API level 24, but the if_nameindex structure is not + defined. -- Issue #15819: Remove redundant include search directory option for building - outside the source tree. +- Issue #20211: Do not add the directory for installing C header files and the + directory for installing object code libraries to the cross compilation + search paths. Original patch by Thomas Petazzoni. -Tests ------ +- Issue #28849: Do not define sys.implementation._multiarch on Android. -- Issue #28217: Adds _testconsole module to test console input. +- Issue #10656: Fix out-of-tree building on AIX. Patch by Tristan Carel and + Michael Haubenwallner. +- Issue #26359: Rename --with-optimiations to --enable-optimizations. -What's New in Python 3.6.0 beta 1 -================================= +- Issue #28444: Fix missing extensions modules when cross compiling. -*Release date: 2016-09-12* +- Issue #28208: Update Windows build and OS X installers to use SQLite 3.14.2. -Core and Builtins ------------------ +- Issue #28248: Update Windows build and OS X installers to use OpenSSL 1.0.2j. -- Issue #23722: The __class__ cell used by zero-argument super() is now - initialized from type.__new__ rather than __build_class__, so class methods - relying on that will now work correctly when called from metaclass methods - during class creation. Patch by Martin Teichmann. +- Issue #21124: Fix building the _struct module on Cygwin by passing ``NULL`` + instead of ``&PyType_Type`` to PyVarObject_HEAD_INIT. Patch by Masayuki + Yamamoto. -- Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python - is compiled with NSMALLPOSINTS = 0. +- Issue #13756: Fix building extensions modules on Cygwin. Patch by Roumen + Petrov, based on original patch by Jason Tishler. -- Issue #27080: Implement formatting support for PEP 515. Initial patch - by Chris Angelico. +- Issue #21085: Add configure check for siginfo_t.si_band, which Cygwin does + not provide. Patch by Masayuki Yamamoto with review and rebase by Erik Bray. -- Issue #27199: In tarfile, expose copyfileobj bufsize to improve throughput. - Patch by Jason Fried. +- Issue #28258: Fixed build with Estonian locale (python-config and distclean + targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis. -- Issue #27948: In f-strings, only allow backslashes inside the braces - (where the expressions are). This is a breaking change from the 3.6 - alpha releases, where backslashes are allowed anywhere in an - f-string. Also, require that expressions inside f-strings be - enclosed within literal braces, and not escapes like - f'\x7b"hi"\x7d'. +- Issue #26661: setup.py now detects system libffi with multiarch wrapper. -- Issue #28046: Remove platform-specific directories from sys.path. +- Issue #27979: A full copy of libffi is no longer bundled for use when + building _ctypes on non-OSX UNIX platforms. An installed copy of libffi is + now required when building _ctypes on such platforms. + +- Issue #15819: Remove redundant include search directory option for building + outside the source tree. + +- Issue #28676: Prevent missing 'getentropy' declaration warning on macOS. + Patch by Gareth Rees. + +Tools/Demos +----------- + +- Issue #28023: Fix python-gdb.py didn't support new dict implementation. + +- Issue #15369: The pybench and pystone microbenchmark have been removed from + Tools. Please use the new Python benchmark suite + https://github.com/python/performance which is more reliable and includes a + portable version of pybench working on Python 2 and Python 3. + +- Issue #28102: The zipfile module CLI now prints usage to stderr. + Patch by Stephen J. Turnbull. + +Tests +----- + +- Issue #28950: Disallow -j0 to be combined with -T/-l in regrtest + command line arguments. + +- Issue #28683: Fix the tests that bind() a unix socket and raise + PermissionError on Android for a non-root user. + + - Issue #26936: Fix the test_socket failures on Android - getservbyname(), + getservbyport() and getaddrinfo() are broken on some Android API levels. + +- Issue #28666: Now test.support.rmtree is able to remove unwritable or + unreadable directories. + +- Issue #23839: Various caches now are cleared before running every test file. + +- 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. + +- Issue #28217: Adds _testconsole module to test console input. + +- Issue #26939: Add the support.setswitchinterval() function to fix + test_functools hanging on the Android armv7 qemu emulator. + + +What's New in Python 3.6.0 beta 1 +================================= + +*Release date: 2016-09-12* + +Core and Builtins +----------------- + +- Issue #23722: The __class__ cell used by zero-argument super() is now + initialized from type.__new__ rather than __build_class__, so class methods + relying on that will now work correctly when called from metaclass methods + during class creation. Patch by Martin Teichmann. + +- Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python + is compiled with NSMALLPOSINTS = 0. + +- Issue #27080: Implement formatting support for PEP 515. Initial patch + by Chris Angelico. + +- Issue #27199: In tarfile, expose copyfileobj bufsize to improve throughput. + Patch by Jason Fried. + +- Issue #27948: In f-strings, only allow backslashes inside the braces + (where the expressions are). This is a breaking change from the 3.6 + alpha releases, where backslashes are allowed anywhere in an + f-string. Also, require that expressions inside f-strings be + enclosed within literal braces, and not escapes like + f'\x7b"hi"\x7d'. + +- Issue #28046: Remove platform-specific directories from sys.path. - Issue #28071: Add early-out for differencing from an empty set.