Martin Panter added the comment:

Here is a better failure in test_close_fds_after_preexec(), raising ENOMEM, so 
I am fairly confident that my fix is working and the exception from fork() is 
passing through properly.

http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.5/builds/137/steps/test/logs/stdio

======================================================================
ERROR: test_close_fds_after_preexec (test.test_subprocess.POSIXProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/64bits/3.5.cea-indiana-amd64/build/Lib/test/test_subprocess.py",
 line 2313, in test_close_fds_after_preexec
    preexec_fn=lambda: os.dup2(1, fd))
  File 
"/export/home/buildbot/64bits/3.5.cea-indiana-amd64/build/Lib/subprocess.py", 
line 950, in __init__
    restore_signals, start_new_session)
  File 
"/export/home/buildbot/64bits/3.5.cea-indiana-amd64/build/Lib/subprocess.py", 
line 1483, in _execute_child
    restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Not enough space

Closing this as fixed, but I would love to find out what the problem with my 
setrlimit() test code is on OS X.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25764>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to