[issue9939] Add a pipe type (FIFO) to the io module

Antoine Pitrou report at bugs.python.org
Fri Sep 24 17:59:37 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> Another option would be to have the read-end act like a non-blocking
> socket (i.e., raise EAGAIN).
> 
> Since it would mostly be for testing, would it make more sense to add
> it to test.support or someplace similar instead of io?

I thought it might be useful for third-party libraries, or even
non-testing situations (although obviously the latter wouldn't be very
common). But, yes, a starting point could be test.support. It would also
avoid having to write unit tests and docs :)
In this case, I would like to do it as a part of the nntplib patch.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9939>
_______________________________________


More information about the Python-bugs-list mailing list