From: Guido van Rossum Date: Tue, 23 Aug 2016 18:06:30 +0000 (-0700) Subject: A new version of typing.py from https://github.com/python/typing. (Merge 3.5->3.6) X-Git-Tag: v3.6.0b1~581 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f5beb7a6e1e6c2418d87917315573ae73c8845e;p=python A new version of typing.py from https://github.com/python/typing. (Merge 3.5->3.6) --- 1f5beb7a6e1e6c2418d87917315573ae73c8845e diff --cc Misc/NEWS index 091d7ba440,1bd3fb3150..dd6e7c189c --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -43,62 -26,17 +43,68 @@@ Core and Builtin In a brand new thread, raise a RuntimeError since there is no active exception to reraise. Patch written by Xiang Zhang. -- Issue #27419: Standard __import__() no longer look up "__import__" in globals - or builtins for importing submodules or "from import". Fixed handling an - error of non-string package name. +Library +------- -- Issue #27083: Respect the PYTHONCASEOK environment variable under Windows. ++- A new version of typing.py from https://github.com/python/typing: ++ - Collection (only for 3.6) (Issue #27598) ++ - Add FrozenSet to __all__ (upstream #261) ++ - fix crash in _get_type_vars() (upstream #259) ++ - Remove the dict constraint in ForwardRef._eval_type (upstream #252) + -- Issue #27514: Make having too many statically nested blocks a SyntaxError - instead of SystemError. +- Issue #27832: Make ``_normalize`` parameter to ``Fraction`` constuctor + keyword-only, so that ``Fraction(2, 3, 4)`` now raises ``TypeError``. -- Issue #27473: Fixed possible integer overflow in bytes and bytearray - concatenations. Patch by Xiang Zhang. +- Issue #27539: Fix unnormalised ``Fraction.__pow__`` result in the case + of negative exponent and negative base. + +- Issue #21718: cursor.description is now available for queries using CTEs. + +- Issue #27819: In distutils sdists, simply produce the "gztar" (gzipped tar + format) distributions on all platforms unless "formats" is supplied. + +- Issue #2466: posixpath.ismount now correctly recognizes mount points which + the user does not have permission to access. + +- Issue #9998: On Linux, ctypes.util.find_library now looks in LD_LIBRARY_PATH + for shared libraries. + +Tests +----- + +- Issue #26040: Improve math and cmath test coverage and rigour. Patch by + Jeff Allen. + +- Issue #27787: Call gc.collect() before checking each test for "dangling + threads", since the dangling threads are weak references. + + +What's New in Python 3.6.0 alpha 4 +================================== + +*Release date: 2016-08-15* + +Core and Builtins +----------------- + +- Issue #27704: Optimized creating bytes and bytearray from byte-like objects + and iterables. Speed up to 3 times for short objects. Original patch by + Naoki Inada. + +- Issue #26823: Large sections of repeated lines in tracebacks are now + abbreviated as "[Previous line repeated {count} more times]" by the builtin + traceback rendering. Patch by Emanuel Barry. + +- Issue #27574: Decreased an overhead of parsing keyword arguments in functions + implemented with using Argument Clinic. + +- Issue #22557: Now importing already imported modules is up to 2.5 times + faster. + +- Issue #17596: Include to help with Min GW building. + +- Issue #17599: On Windows, rename the privately defined REPARSE_DATA_BUFFER + structure to avoid conflicting with the definition from Min GW. - Issue #27507: Add integer overflow check in bytearray.extend(). Patch by Xiang Zhang.