Mercurial > cpython-lru_cache-weakref
view Lib/test/subprocessdata/input_reader.py @ 69908:9688977ef567
test_ftplib.py: change client default timeout from 10 to 2. Hanging for 10 seconds is way too much when we expect a server response which never comes in.
| author | Giampaolo Rodola' <g.rodola@gmail.com> |
|---|---|
| date | Sat, 07 May 2011 17:08:34 +0200 |
| parents | 668c4218ae26 |
| children |
line wrap: on
line source
"""When called as a script, consumes the input""" import sys if __name__ == "__main__": for line in sys.stdin: pass
