Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue18571] Implementation of the PEP 446: non-inheritable file descriptors

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Aug 9, 2013, 4:12 PM

Post #1 of 6 (16 views)
Permalink
[issue18571] Implementation of the PEP 446: non-inheritable file descriptors

Changes by STINNER Victor <victor.stinner [at] gmail>:


----------
title: Implementation of the PEP 446: non-inheriable file descriptors -> Implementation of the PEP 446: non-inheritable file descriptors

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18571>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2013, 6:08 PM

Post #2 of 6 (14 views)
Permalink
[issue18571] Implementation of the PEP 446: non-inheritable file descriptors [In reply to]

Changes by STINNER Victor <victor.stinner [at] gmail>:


Added file: http://bugs.python.org/file31234/1f8979a8c2c5.diff

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18571>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2013, 6:10 PM

Post #3 of 6 (14 views)
Permalink
[issue18571] Implementation of the PEP 446: non-inheritable file descriptors [In reply to]

Changes by STINNER Victor <victor.stinner [at] gmail>:


Removed file: http://bugs.python.org/file31234/1f8979a8c2c5.diff

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18571>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2013, 6:11 PM

Post #4 of 6 (14 views)
Permalink
[issue18571] Implementation of the PEP 446: non-inheritable file descriptors [In reply to]

Changes by STINNER Victor <victor.stinner [at] gmail>:


Added file: http://bugs.python.org/file31235/e4e6f45668c7.diff

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18571>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2013, 6:16 PM

Post #5 of 6 (14 views)
Permalink
[issue18571] Implementation of the PEP 446: non-inheritable file descriptors [In reply to]

Changes by STINNER Victor <victor.stinner [at] gmail>:


Removed file: http://bugs.python.org/file31058/c066794c85cd.diff

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18571>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2013, 6:19 PM

Post #6 of 6 (14 views)
Permalink
[issue18571] Implementation of the PEP 446: non-inheritable file descriptors [In reply to]

STINNER Victor added the comment:

+ if (make_inheritable(py_fds_to_keep) < 0)
+ goto error;
+ /* errpipe_write is part of py_fds_to_keep. It must be closed at
+ exec(), but kept open in the child process until exec() is called. */
+ if (_Py_set_inheritable((int)errpipe_write, 0, NULL) < 0)
+ goto error;

make_inheritable() should ignore errpipe_write, instead of changing twice the inheritable flag of errpipe_write.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue18571>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.