d6d5732773
Version 3.6.6: Core and Builtins * Fix asynchronous generators to handle GeneratorExit in athrow() correctly * Fixed reset of the SIGINT handler to SIG_DFL on interpreter shutdown even when there was a custom handler set previously. * Fixed a leak when the garbage collector fails to add an object with the __del__ method or referenced by it into the gc.garbage list. PyGC_Collect() can now be called when an exception is set and preserves it. * Fix signed/unsigned comparison warning in pyhash.c. * Fix a leak in set_symmetric_difference(). * Fix unaligned accesses in siphash24(). * Fix potential memory leak in normalizestring(). * Improved error messages in ‘async with’ when __aenter__() or __aexit__() return non-awaitable object. * Fix ma_version_tag in dict implementation is uninitialized when copying from key-sharing dict. * Fixed jumping when the function contains an async for loop. * Fix an unnecessary ifdef in the include of VersionHelpers.h in socketmodule on Windows. * Fix a crash in ctypes.cast() in case the type argument is a ctypes structured data type. Library * Prevent site.main() exception if PYTHONSTARTUP is set. * Datetime instance d with non-None tzinfo, but with d.tzinfo.utcoffset(d) returning None is now treated as naive by the astimezone() method. * Avoid race condition with debug logging * The concatenation (+) and repetition (*) sequence operations now raise TypeError instead of SystemError when performed on mmap.mmap objects. * Fix gather to propagate cancellation of itself even with return_exceptions. * Fix a race condition in SSLProtocol.connection_made() of asyncio.sslproto: start immediately the handshake instead of using call_soon(). Previously, data_received() could be called before the handshake started, causing the handshake to hang or fail. * Fixed bug where calling write_eof() on a _SelectorSocketTransport after it’s already closed raises AttributeError. * Fix Task.__repr__ crash with Cython’s bogus coroutines * Fix RuntimeError after closing loop that used run_in_executor * Use a better regex when breaking usage into wrappable parts. Avoids bogus assertion errors from custom metavar strings. * Fixed a bug in the Python implementation of the JSON decoder that prevented the cache of parsed strings from clearing after finishing the decoding. Based on patch by c-fos. * tempfile._candidate_tempdir_list should consider common TEMP locations * Prevent uuid.get_node from using a DUID instead of a MAC on Windows. * Fix race condition with ReadTransport.resume_reading in Windows proactor event loop. * Minor fixes in typing module: add annotations to NamedTuple.__new__, pass *args and **kwds in Generic.__new__. * Updated alias mapping with glibc 2.27 supported locales. * Fix trailing quotation marks getting deleted when looking up byte/string literals on pydoc. * Update error message when constructing invalid inspect.Parameters * Fixed crash in the get() method of the dbm.ndbm database object when it is called with a single argument. * Fix multiprocessing regression on newer glibcs * Fix quoting of the Comment attribute of http.cookies.SimpleCookie. * Upgrade bundled version of pip to 10.0.1. * Fixed a crash in the parser module when converting an ST object to a tree of tuples or lists with line_info=False and col_info=True. * Fix FD leak in _SelectorSocketTransport * Fix display of <module> call in the html produced by cgitb.html(). * random.Random.choice() now raises IndexError for empty sequences consistently even when called from subclasses without a getrandbits() implementation. * Update difflib.mdiff() for PEP 479. Convert an uncaught StopIteration in a generator into a return-statement. * End framing at the end of C implementation of pickle.Pickler.dump(). * The urllib.robotparser’s __str__ representation now includes wildcard entries and the “Crawl-delay” and “Request-rate” fields. * Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note iid=0 and iid=False would be same. * The ssl module now compiles with LibreSSL 2.7.1. * Release the GIL during fstat() calls, avoiding hang of all threads when calling mmap.mmap(), os.urandom(), and random.seed(). * Fix a regression in ipaddress that result of hosts() is empty when the network is constructed by a tuple containing an integer mask and only 1 bit left for addresses. * Fix wrong redirection of a low descriptor (0 or 1) to stderr in subprocess if another low descriptor is closed. * Fix output of cover files for trace module command-line tool. Previously emitted cover files only when --missing option was used. * If nested log adapters are used, the inner process() methods are no longer omitted. * Support arrays >=2GiB in ctypes. * pydoc: the stop() method of the private ServerThread class now waits until DocServer.serve_until_quit() completes and then explicitly sets its docserver attribute to None to break a reference cycle. |
||
---|---|---|
.. | ||
patches | ||
ALTERNATIVES | ||
buildlink3.mk | ||
DESCR | ||
dist.mk | ||
distinfo | ||
Makefile | ||
options.mk | ||
PLIST | ||
PLIST.Darwin | ||
PLIST.FreeBSD | ||
PLIST.IRIX | ||
PLIST.Linux | ||
PLIST.SunOS |