STINNER Victor added the comment: Hum, the main difference between Python 3.5 and 3.6 is this optimization:
changeset: 101039:d268f108ba80 user: Victor Stinner <victor.stin...@gmail.com> date: Sun Apr 17 16:51:52 2016 +0200 files: Python/fileutils.c description: Avoid fcntl() if possible in set_inheritable() Issue #26770: set_inheritable() avoids calling fcntl() twice if the FD_CLOEXEC is already set/cleared. This change only impacts platforms using the fcntl() implementation of set_inheritable() (not Linux nor Windows). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27847> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com