MCPcopy Index your code
hub / github.com/RustPython/RustPython / open_fds

Method open_fds

Lib/test/test_subprocess.py:1537–1540  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1535 # Issue #18851
1536 fds = []
1537 def open_fds():
1538 for i in range(20):
1539 fds.extend(os.pipe())
1540 time.sleep(0.001)
1541 t = threading.Thread(target=open_fds)
1542 t.start()
1543 try:

Callers

nothing calls this directly

Calls 3

extendMethod · 0.45
pipeMethod · 0.45
sleepMethod · 0.45

Tested by

no test coverage detected