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.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/Z3ER3MN3LDIUMEM4YYMT5WGN4CZHEEJS/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to