socketserver StreamRequestHandler non-blocking read__
10 Oct
2021
10 Oct
'21
5:21 p.m.
For StreamRequetHandler's rfile attribute, it will block when the read readline readlines reach the end. It would be nice to add non-blocking read because the seek() is unavailable for rfile. and there is no other way to detect if it is ended. When the stream is empty and waiting for new input, then it will return None type. This would be a nice feature.
1063
Age (days ago)
1063
Last active (days ago)
0 comments
1 participants
participants (1)
-
Evan Greenup