[python-tulip] StreamReader.readline() limit

2014-02-20 Thread Victor Stinner
Hi, StreamReader.read() can reed unlimited data, but StreamReader.readline() is limited by the limit paramter of the StreamReader constructor. It is not possible to pass None. Is there a reason for that? Victor

Re: [python-tulip] Interacting with sys.stdin/sys.stdout/sys.stderr

2014-02-20 Thread Victor Stinner
2014-02-20 8:57 GMT+01:00 Jonathan Slenders jonathan.slend...@gmail.com: Thanks, the example is very clear and helpful! Sorry, but I didn't understand your opinion on the patch. Does it look correct? It just found a new issue with the non-blocking mode when the cat program is used as input. IMO

Re: [python-tulip] Re: Tulip third-party projects and Trollius

2014-02-20 Thread Yury Selivanov
On 2/20/2014, 12:54 PM, Guido van Rossum wrote: The source transformation route has not been very popular with Python 2 vs. 3 porting projects. It's not popular, but nevertheless, many use it just fine. I wonder if it would be possible (using asyncio internals) to write a From() function

Re: [python-tulip] Re: Tulip third-party projects and Trollius

2014-02-20 Thread Guido van Rossum
It should not be part of asyncio, but a separate library on PyPI, like six. On Thu, Feb 20, 2014 at 10:31 AM, Yury Selivanov yselivanov...@gmail.comwrote: On 2/20/2014, 12:54 PM, Guido van Rossum wrote: The source transformation route has not been very popular with Python 2 vs. 3 porting