New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
codecs doc: what is StreamCodec? #56369
Comments
Codec.encode() and Codec.decode() refer to StreamCode, but I cannot find this class in the doc nor in the code. I suppose that it should be replaced by IncrementalEncoder and IncrementalDecoder. If I'm correct, see attached patch. |
STINNER Victor wrote:
Thanks for spotting this. It should read StreamReader/StreamWriter, since these were designed |
Hi Victor, would you update the patch? |
I've noticed that this issue hasn't been looked at in a while, and from looking through the current docucmentation, it looks like this issue still exists. I've uploaded a patch with the changes that Marc-Andre mentioned. |
This patch looks simple and uncontroversial. I think it could be merged. |
New changeset f9694502f07c by Berker Peksag in branch '3.4': New changeset 98631f35426f by Berker Peksag in branch '3.5': New changeset d3b20bff9c5d by Berker Peksag in branch 'default': |
Thanks for the patch, Nick! |
New changeset 296a09614f31 by Berker Peksag in branch '2.7': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: