Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ writer
Method
writer
Lib/test/test_io.py:1090–1093 ·
view source on GitHub ↗
(file, barrier)
Source
from the content-addressed store, hash-verified
1088
read_count = 100
1089
1090
def
writer(file, barrier):
1091
barrier.wait()
1092
for
_ in range(write_count):
1093
file.write(
"x"
)
1094
1095
def
reader(file, barrier):
1096
barrier.wait()
Callers
15
__call__
Method · 0.45
test_streamwriter
Method · 0.45
test_streamwriter_reset_no_pending
Method · 0.45
test_copy
Method · 0.45
test_pickle
Method · 0.45
_write_test
Method · 0.45
_write_error_test
Method · 0.45
test_write_lineterminator
Method · 0.45
test_writerows
Method · 0.45
test_writerows_with_none
Method · 0.45
test_writerows_errors
Method · 0.45
test_roundtrip_quoteed_newlines
Method · 0.45
Calls
2
wait
Method · 0.45
write
Method · 0.45
Tested by
no test coverage detected