From: Victor Stinner Date: Tue, 2 Sep 2014 09:49:48 +0000 (+0200) Subject: (Merge 3.4) Closes #22258: Fix the the internal function set_inheritable() on X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8257b6283e3ea41f5746835871dedcb00139bdfe;p=python (Merge 3.4) Closes #22258: Fix the 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). --- 8257b6283e3ea41f5746835871dedcb00139bdfe diff --cc Misc/NEWS index d0e3d7293a,9d35acf413..71ab268c73 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,38 -10,11 +10,43 @@@ Release date: TB Core and Builtins ----------------- + - Issue #22258: Fix the 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