From: Victor Stinner Date: Thu, 19 May 2011 22:18:58 +0000 (+0200) Subject: (Merge 3.1) Issue #12124: zipimport doesn't keep a reference to X-Git-Tag: v3.2.1rc2~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4445ec81c17c672b5d245da7a1af0e0294debcc0;p=thirdparty%2FPython%2Fcpython.git (Merge 3.1) Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore to be able to unload the module. --- 4445ec81c17c672b5d245da7a1af0e0294debcc0 diff --cc Misc/NEWS index 30eda2bc2cdf,9ae7979776ca..d8010828cd7d --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,30 -10,64 +10,34 @@@ What's New in Python 3.2.1 Core and Builtins ----------------- -- Issue #12060: Use sig_atomic_t type and volatile keyword in the signal - module. Patch written by Charles-François Natali. - -- Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c, - clear the end-of-file indicator after CTRL+d. - -- Issue #9756: When calling a method descriptor or a slot wrapper descriptor, - the check of the object type doesn't read the __class__ attribute anymore. - Fix a crash if a class override its __class__ attribute (e.g. a proxy of the - str type). Patch written by Andreas Stührk. - -- Issue #6780: fix starts/endswith error message to mention that tuples are - accepted too. - -- Issue #5057: fix a bug in the peepholer that led to non-portable pyc files - between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP - chars (e.g. "\U00012345"[0]). - -- Issue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted - (EINTR), for example if the program is stopped with CTRL+z on Mac OS X. Patch - written by Charles-Francois Natali. - -- Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file - doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int - (length bigger than 2^31-1 bytes). +Library +------- -- Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when - there are many tags (e.g. when using mq). Patch by Nadeem Vawda. ++- Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore ++ to be able to unload the module. + -- Issue #10451: memoryview objects could allow to mutate a readable buffer. - Initial patch by Ross Lagerwall. +- Issue #12065: connect_ex() on an SSL socket now returns the original errno + when the socket's timeout expires (it used to return None). -- Issue #10892: Don't segfault when trying to delete __abstractmethods__ from a - class. -- Issue #8020: Avoid a crash where the small objects allocator would read - non-Python managed memory while it is being modified by another thread. - Patch by Matt Bandy. + -- Issue #8278: On Windows and with a NTFS filesystem, os.stat() and os.utime() - can now handle dates after 2038. +What's New in Python 3.2.1 release candidate 1? +=============================================== -- issue #11828: startswith and endswith don't accept None as slice index. - Patch by Torsten Becker. +*Release date: XX-XXX-2011* -- Issue #4236: PyModule_Create2 now checks the import machinery directly - rather than the Py_IsInitialized flag, avoiding a Fatal Python - error in certain circumstances when an import is done in __del__. +Core and Builtins +----------------- -- Issue #10596: Fix float.__mod__ to have the same behaviour as - float.__divmod__ with respect to signed zeros. -4.0 % 4.0 should be - 0.0, not -0.0. +- Issue #12060: Use sig_atomic_t type and volatile keyword in the signal + module. Patch written by Charles-François Natali. -- Issue #5587: add a repr to dict_proxy objects. Patch by David Stanek and - Daniel Urban. +- Issue #12044: Fixed subprocess.Popen when used as a context manager to + wait for the process to end when exiting the context to avoid unintentionally + leaving zombie processes around. -- Issue #11506: Trying to assign to a bytes literal should result in a - SyntaxError. +- Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c, + clear the end-of-file indicator after CTRL+d. Library -------