[issue22258] set_inheritable(): ioctl(FIOCLEX) is available but fails with ENOTTY on Illumos

2014-09-02 Thread Igor Pashev
Igor Pashev added the comment: Yes, Victor. Your patch works. All os tests are passed :-) -- ___ Python tracker <http://bugs.python.org/issue22258> ___ ___ Pytho

[issue22258] Use FD_CLOEXEC in Python/fileutils.c

2014-08-24 Thread Igor Pashev
Igor Pashev added the comment: errno is 25 (#define ENOTTY 25 /* Inappropriate ioctl for device */) It does not make sense to me to call unworkable ioctl() each time before other methods :-) I would consider adding a configure check for working ioctl() (but it won't work for

[issue22258] Use FD_CLOEXEC in Python/fileutils.c

2014-08-23 Thread Igor Pashev
New submission from Igor Pashev: I've found on illumos-based OS that under some conditions python is unable to open any files because set_inheritable() fails. This happens even when building python when it cannot find (open) _sysconfigdata.py. The problem is that set_inheritable()

[issue21287] Better support for AF_PACKET on opensolaris (illumos)

2014-04-18 Thread Igor Pashev
Changes by Igor Pashev : Removed file: http://bugs.python.org/file34952/dyson-socketmodule-ifindex.patch ___ Python tracker <http://bugs.python.org/issue21287> ___ ___

[issue21287] Better support for AF_PACKET on opensolaris (illumos)

2014-04-18 Thread Igor Pashev
Igor Pashev added the comment: Related to http://bugs.python.org/issue8852 -- ___ Python tracker <http://bugs.python.org/issue21287> ___ ___ Python-bugs-list m

[issue21287] Better support for AF_PACKET on opensolaris (illumos)

2014-04-17 Thread Igor Pashev
Changes by Igor Pashev : Added file: http://bugs.python.org/file34961/dyson-socketmodule-ifindex.patch ___ Python tracker <http://bugs.python.org/issue21287> ___ ___ Pytho