Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ open_fds
Method
open_fds
Lib/test/test_subprocess.py:1539–1542 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1537
# Issue #18851
1538
fds = []
1539
def
open_fds():
1540
for
i in range(20):
1541
fds.extend(os.pipe())
1542
time.sleep(0.001)
1543
t = threading.Thread(target=open_fds)
1544
t.start()
1545
try
:
Callers
nothing calls this directly
Calls
3
extend
Method · 0.45
pipe
Method · 0.45
sleep
Method · 0.45
Tested by
no test coverage detected