diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-09-02 09:41:04 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-09-02 09:41:04 (GMT) |
commit | 282124b8c4a277d634435c3a2fb2353abd567c31 (patch) | |
tree | 27f11f0c50a90b2b4d90ef6bb3e9782a76300243 /Misc | |
parent | a42ad6bf84ff306e1a52c7c77401920c72eeaeb0 (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |