From: Raymond Hettinger Date: Sun, 15 Sep 2013 03:52:54 +0000 (-0700) Subject: merge X-Git-Tag: v3.4.0a3~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c76aa4832b1b5c2898fe78a188835270bf7b70f6;p=python merge --- c76aa4832b1b5c2898fe78a188835270bf7b70f6 diff --cc Misc/NEWS index face3a934e,f74cdb19d1..8845e3df5f --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -7,88 -12,58 +7,91 @@@ Projected Release date: 2013-09-2 Core and Builtins ----------------- -- Issue #18942: sys._debugmallocstats() output was damaged on Windows. +- Issue #18818: The "encodingname" part of PYTHONIOENCODING is now optional. -- Issue #18667: Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions. +Library +------- -- Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() - fails. +- Issue #18937: Add an assertLogs() context manager to unittest.TestCase + to ensure that a block of code emits a message using the logging module. -- Issue #16741: Fix an error reporting in int(). +- Issue #17324: Fix http.server's request handling case on trailing '/'. Patch + contributed by Vajrasky Kok. -- Issue #17899: Fix rare file descriptor leak in os.listdir(). ++- Issue #19018: The heapq.merge() function no longer suppresses IndexError ++ in the underlying iterables. + -- Issue #18552: Check return value of PyArena_AddPyObject() in - obj2ast_object(). +- Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL, + if all necessary functions are already found in libuuid. + Patch by Evgeny Sologubov. -- Issue #18560: Fix potential NULL pointer dereference in sum(). +- The :envvar:`PYTHONFAULTHANDLER` environment variable now only enables the + faulthandler module if the variable is non-empty. Same behaviour than other + variables like :envvar:`PYTHONDONTWRITEBYTECODE`. -- Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0], - prefix and exec_prefix if the operation system does not obey MAXPATHLEN. +Tests +----- -- Issue #18344: Fix potential ref-leaks in _bufferedreader_read_all(). +- Issue #18952: Fix regression in support data downloads introduced when + test.support was converted to a package. Regression noticed by Zachary + Ware. -- Issue #17872: Fix a segfault in marshal.load() when input stream returns - more bytes than requested. +IDLE +---- -- Issue #18426: Fix NULL pointer dereference in C extension import when - PyModule_GetDef() returns an error. +- Issue #18988: The "Tab" key now works when a word is already autocompleted. -- Issue #18328: Reorder ops in PyThreadState_Delete*() functions. Now the - tstate is first removed from TLS and then deallocated. -- Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise - OverflowError when an argument of %c format is out of range. +What's New in Python 3.4.0 Alpha 2? +=================================== -- Issue #18137: Detect integer overflow on precision in float.__format__() - and complex.__format__(). +Release date: 2013-09-09 -- Issue #18183: Fix various unicode operations on strings with large unicode - codepoints. +Core and Builtins +----------------- -- Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows(). +- Issue #18942: sys._debugmallocstats() output was damaged on Windows. -- Issue #18038: SyntaxError raised during compilation sources with illegal - encoding now always contains an encoding name. +- Issue #18571: Implementation of the PEP 446: file descriptors and file + handles are now created non-inheritable; add functions + os.get/set_inheritable(), os.get/set_handle_inheritable() and + socket.socket.get/set_inheritable(). -- Issue #17644: Fix a crash in str.format when curly braces are used in square - brackets. +- Issue #11619: The parser and the import machinery do not encode Unicode + filenames anymore on Windows. -- Issue #17983: Raise a SyntaxError for a ``global __class__`` statement in a - class body. +- Issue #18808: Non-daemon threads are now automatically joined when + a sub-interpreter is shutdown (it would previously dump a fatal error). -- Issue #17927: Frame objects kept arguments alive if they had been copied into - a cell, even if the cell was cleared. +- Remove supporting for compiling on systems without getcwd(). + +- Issue #18774: Remove last bits of GNU PTH thread code and thread_pth.h. + +- Issue #18771: Add optimization to set object lookups to reduce the cost + of hash collisions. The core idea is to inspect a second key/hash pair + for each cache line retrieved. + +- Issue #16105: When a signal handler fails to write to the file descriptor + registered with ``signal.set_wakeup_fd()``, report an exception instead + of ignoring the error. + +- Issue #18722: Remove uses of the "register" keyword in C code. + +- Issue #18667: Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions. + +- Issue #16499: Add command line option for isolated mode. + +- Issue #15301: Parsing fd, uid, and gid parameters for builtins + in Modules/posixmodule.c is now far more robust. + +- Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() + fail. + +- Issue #17934: Add a clear() method to frame objects, to help clean up + expensive details (local variables) and break reference cycles. + +- Issue #18780: %-formatting codes %d, %i, and %u now treat int-subclasses + as int (displays value of int-subclass instead of str(int-subclass) ). Library -------