Logo
Explore Help
Sign In
ada/cpython
0
0
Fork 0
You've already forked cpython
mirror of https://github.com/AdaCore/cpython.git synced 2026-02-12 12:57:15 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
buildbot-custom
cpython/Lib/test/subprocessdata/input_reader.py

8 lines
130 B
Python
Raw Permalink Normal View History

issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from the C code, using pipe2() when available. Adds unittests for close_fds and cloexec behaviors.
2010-12-13 07:59:39 +00:00
"""When called as a script, consumes the input"""
import sys
Issue 10687. When --without-pymalloc is given, $VERSION is the same as $LDVERSION, which screws up the sym/hard-links. This avoids those games when $VERSION == $LDVERSION. Also, include a drive-by fix for an obvious syntax error.
2010-12-13 18:04:23 +00:00
if __name__ == "__main__":
issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from the C code, using pipe2() when available. Adds unittests for close_fds and cloexec behaviors.
2010-12-13 07:59:39 +00:00
for line in sys.stdin:
pass
Reference in New Issue Copy Permalink
Powered by Gitea Page: 2650ms Template: 13ms
English
English
Licenses API