New submission from Charles-François Natali <neolo...@free.fr>: pipe2() makes it possible to create a pipe O_CLOEXEC or O_NONBLOCK atomically, which can be quite useful, especially in multi-threaded code. It would be nice to expose it in the os module. Patch attached.
---------- components: Library (Lib) files: posix_pipe2.diff keywords: needs review, patch messages: 137054 nosy: charles-francois.natali, haypo, pitrou priority: low severity: normal stage: patch review status: open title: add pipe2() to the os module type: feature request versions: Python 3.4 Added file: http://bugs.python.org/file22147/posix_pipe2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12196> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com