Yury Selivanov <yseliva...@gmail.com> added the comment:

> Im interested in learning about the new api.

There are two problems with the current API:

1. Reader and writer are separate objects, while they should be one.
2. Writer.write is not a coroutine, although it should be one.

There are other minor nits, but that's the crux of the problem. So we need a 
new streams design + a new set of APIs to work with it (and streams are in many 
places, like in the subprocess APIs).

Trio was going to stabilize their own streaming API and we thought it would be 
great if our new API was compatible with it (not sure if they did stabilize it 
or not).

I was going to lead the project myself (and still am) but dropped the ball and 
we missed 3.9 to do this. If you want to start working on this I'd be glad to 
assist with discussions & reviews.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41305>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to