From: Benjamin Peterson Date: Sun, 4 Jan 2015 22:06:14 +0000 (-0600) Subject: merge 3.4 (#23165) X-Git-Tag: v3.5.0a1~249 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8693416b5a597627d1f208419b656f13bd7efb8;p=python merge 3.4 (#23165) --- f8693416b5a597627d1f208419b656f13bd7efb8 diff --cc Misc/NEWS index d937e27f21,f634b59a94..3797b78054 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -61,138 -38,9 +61,141 @@@ Core and Builtin - Issue #22518: Fix integer overflow issues in latin-1 encoding. +- Issue #16324: _charset parameter of MIMEText now also accepts + email.charset.Charset instances. Initial patch by Claude Paroz. + +- Issue #1764286: Fix inspect.getsource() to support decorated functions. + Patch by Claudiu Popa. + +- Issue #18554: os.__all__ includes posix functions. + +- Issue #21391: Use os.path.abspath in the shutil module. + +- Issue #11471: avoid generating a JUMP_FORWARD instruction at the end of + an if-block if there is no else-clause. Original patch by Eugene Toder. + +- Issue #22215: Now ValueError is raised instead of TypeError when str or bytes + argument contains not permitted null character or byte. + +- Issue #22258: Fix the internal function set_inheritable() on Illumos. + This platform exposes the function ``ioctl(FIOCLEX)``, but calling it fails + with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable() + now falls back to the slower ``fcntl()`` (``F_GETFD`` and then ``F_SETFD``). + +- Issue #21389: Displaying the __qualname__ of the underlying function in the + repr of a bound method. + +- Issue #22206: Using pthread, PyThread_create_key() now sets errno to ENOMEM + and returns -1 (error) on integer overflow. + +- Issue #20184: Argument Clinic based signature introspection added for + 30 of the builtin functions. + +- Issue #22116: C functions and methods (of the 'builtin_function_or_method' + type) can now be weakref'ed. Patch by Wei Wu. + +- Issue #22077: Improve index error messages for bytearrays, bytes, lists, + and tuples by adding 'or slices'. Added ', not