[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-26 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-15 Thread Guido van Rossum
Guido van Rossum added the comment: Good pontificating, Paul. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-15 Thread Paul Sokolovsky
Paul Sokolovsky added the comment: Thanks for the response. > and an API with more choices is not necessarily better. I certainly agree, and that's why I try to implement MicroPython's uasyncio solely in terms of coroutines, without Futures and Transports. But I of course can't argue for drop

[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-14 Thread Guido van Rossum
Guido van Rossum added the comment: Most people actually are better off with just write(), and an API with more choices is not necessarily better. I'm sure this has come up before, I could've sworn it was you, sorry if it wasn't. Here's one reason why I don't like your proposed API. The read()

[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-14 Thread Paul Sokolovsky
Paul Sokolovsky added the comment: No, I haven't brought this "many times before". Discussion on the mailing list last week was first time I brought up *this* issue. But it's indeed not the first time I provide feedback regarding various aspects of asyncio, so I wonder if this issue was closed

[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-14 Thread Guido van Rossum
Guido van Rossum added the comment: Paul, you have brought this up many times before, and you have been refuted each time. Reading and writing just aren't symmetric operations. If you need awrite(), it's a two-line helper function you can easily write yourself. -- resolution: -> rejec

[issue24449] Please add async write method to asyncio.StreamWriter

2015-06-14 Thread Paul Sokolovsky
New submission from Paul Sokolovsky: This issue was brought is somewhat sporadic manner on python-tulip mailing list, hence this ticket. The discussion on the ML: https://groups.google.com/d/msg/python-tulip/JA0-FC_pliA/knMvVGxp2WsJ (all other messages below threaded from this) https://groups.