From: Meador Inge Date: Mon, 28 May 2012 19:47:53 +0000 (-0500) Subject: Issue #9041: raised exception is misleading X-Git-Tag: v3.3.0a4~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d102e04e4a9f84f632c5dfff5e7d3aae7022b33e;p=python Issue #9041: raised exception is misleading An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that caused an incorrect exception to be returned in the case of overflow has been fixed. --- d102e04e4a9f84f632c5dfff5e7d3aae7022b33e diff --cc Misc/NEWS index c37c556386,059a1e0f8f..4b7cddb43e --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -703,65 -300,64 +703,69 @@@ Buil Documentation ------------- -- Issue #8799: Fix and improve the threading.Condition documentation. +- Issue #14034: added the argparse tutorial. -Documentation -------------- -- Issue #14034: added the argparse tutorial. +- Issue #14324: Fix configure tests for cross builds. -Tools/Demos ------------ +- Issue #14327: Call AC_CANONICAL_HOST in configure.ac and check in + config.{guess,sub}. Don't use uname calls for cross builds. -- Issue #14695: Fix missing support for starred assignments in - Tools/parser/unparse.py. +Extension Modules +----------------- ++- Issue #9041: An issue in ctypes.c_longdouble, ctypes.c_double, and ++ ctypes.c_float that caused an incorrect exception to be returned in the ++ case of overflow has been fixed. + -What's New in Python 3.2.3? -=========================== +- Issue #14212: The re module didn't retain a reference to buffers it was + scanning, resulting in segfaults. -*Release date: 10-Apr-2012* +- Issue #14259: The finditer() method of re objects did not take any + keyword arguments, contrary to the documentation. -Build +Tests ----- -- Issue #14387: Work around a problem building extension modules under Windows - by undefining ``small`` before use in the Python headers. +- Issue #14442: Add missing errno import in test_smtplib. +- Issue #8315: (partial fix) python -m unittest test.test_email now works. -What's New in Python 3.2.3 release candidate 2? -=============================================== -*Release date: 18-Mar-2012* +What's New in Python 3.3.0 Alpha 1? +=================================== -Library -------- - -- Issue #6884: Fix long-standing bugs with MANIFEST.in parsing in distutils - on Windows. +*Release date: 05-Mar-2012* -Extension Modules +Core and Builtins ----------------- -- Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes in the hash - table internal to the pyexpat module's copy of the expat library to avoid a - denial of service due to hash collisions. Patch by David Malcolm with some - modifications by the expat project. +- Issue #14172: Fix reference leak when marshalling a buffer-like object + (other than a bytes object). +- Issue #13521: dict.setdefault() now does only one lookup for the given key, + making it "atomic" for many purposes. Patch by Filip Gruszczyński. -What's New in Python 3.2.3 release candidate 1? -=============================================== +- PEP 409, Issue #6210: "raise X from None" is now supported as a means of + suppressing the display of the chained exception context. The chained + context still remains available as the __context__ attribute. -*Release date: 24-Feb-2012* +- Issue #10181: New memoryview implementation fixes multiple ownership + and lifetime issues of dynamically allocated Py_buffer members (#9990) + as well as crashes (#8305, #7433). Many new features have been added + (See whatsnew/3.3), and the documentation has been updated extensively. + The ndarray test object from _testbuffer.c implements all aspects of + PEP-3118, so further development towards the complete implementation + of the PEP can proceed in a test-driven manner. -Core and Builtins ------------------ + Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review + and many ideas. + +- Issue #12834: Fix incorrect results of memoryview.tobytes() for + non-contiguous arrays. -- Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED - environment variable, to provide an opt-in way to protect against denial of - service attacks due to hash collisions within the dict and set types. Patch - by David Malcolm, based on work by Victor Stinner. +- Issue #5231: Introduce memoryview.cast() method that allows changing + format and shape without making a copy of the underlying memory. - Issue #14084: Fix a file descriptor leak when importing a module with a bad encoding.