summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-09-02 09:41:04 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-09-02 09:41:04 (GMT)
commit282124b8c4a277d634435c3a2fb2353abd567c31 (patch)
tree27f11f0c50a90b2b4d90ef6bb3e9782a76300243 /Misc
parenta42ad6bf84ff306e1a52c7c77401920c72eeaeb0 (diff)
downloadcpython-282124b8c4a277d634435c3a2fb2353abd567c31.zip
cpython-282124b8c4a277d634435c3a2fb2353abd567c31.tar.gz
cpython-282124b8c4a277d634435c3a2fb2353abd567c31.tar.bz2
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).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 5111b8a..9d35acf 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,11 @@ Release date: XXXX-XX-XX
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 #21669: With the aid of heuristics in SyntaxError.__init__, the
parser now attempts to generate more meaningful (or at least more search
engine friendly) error messages when "exec" and "print" are used as