Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
python-3.7
/
usr
/
lib
/
python3.7
/
test
/
test_asyncio
/
//opt/python-3.7/usr/lib/python3.7/test/test_asyncio/echo3.py
import os if __name__ == '__main__': while True: buf = os.read(0, 1024) if not buf: break try: os.write(1, b'OUT:'+buf) except OSError as ex: os.write(2, b'ERR:' + ex.__class__.__name__.encode('ascii'))