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 Bruce Merry, asvetlov, yselivanov
Date 2019-06-02.11:09:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559473781.31.0.257800232695.issue32052@roundup.psfhosted.org>
In-reply-to
Content
Closing.
Brief:
1. Access to an internal buffer is not an option.
2. Pushing data back to stream after fetching is not an option too: it kills almost any possible optimization and makes code overcomplicated. aiohttp used to have "unread_data()" API but we deprecated it and going to remove the method entirely. A wrapper around the stream with puback functionality is an option though unless it doesn't touch underlying stream implementation.
3. Extending a set of reader operations is a good idea, please make a separate issue with a concrete proposal if needed.
History
Date User Action Args
2019-06-02 11:09:41asvetlovsetrecipients: + asvetlov, yselivanov, Bruce Merry
2019-06-02 11:09:41asvetlovsetmessageid: <1559473781.31.0.257800232695.issue32052@roundup.psfhosted.org>
2019-06-02 11:09:41asvetlovlinkissue32052 messages
2019-06-02 11:09:41asvetlovcreate