This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asvetlov
Recipients asvetlov, yselivanov
Date 2019-05-11.18:15:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557598514.53.0.379470651864.issue36889@roundup.psfhosted.org>
In-reply-to
Content
The separation was a bad idea, sorry. Both classes are coupled too much.
1. Writer should know about the reader to make `drain()` work
2. Reader has no .close() method.

The idea is: 
1. Merge StreamReader and StreamWriter into just a Stream.
2. The Stream should support three modes: readonly, writeonly, readwrite.
3. Keep StreamReader/StreamWriter but deprecate these classes.
4. Replace all asyncio internals to use Stream class.
History
Date User Action Args
2019-05-11 18:15:14asvetlovsetrecipients: + asvetlov, yselivanov
2019-05-11 18:15:14asvetlovsetmessageid: <1557598514.53.0.379470651864.issue36889@roundup.psfhosted.org>
2019-05-11 18:15:14asvetlovlinkissue36889 messages
2019-05-11 18:15:14asvetlovcreate