You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New changeset 81c5ec9 by Miss Islington (bot) (Jelle Zijlstra) in branch '3.7':
[3.7] bpo-33482: fix codecs.StreamRecoder.writelines (GH-6779) (GH-13502) 81c5ec9
Activity
JelleZijlstra commentedon May 13, 2018
codecs.StreamRecoder.writelines is implemented as:
It can't take a list of bytes because then the ''.join throws an error, and it can't take a list of str because self.decode takes bytes.
It looks like bytes are intended (self.write takes bytes), so I'll submit a simple PR to fix this.
gvanrossum commentedon Jun 11, 2018
LGTM. Though sad there's no test that caught this. Could you add one.
miss-islington commentedon May 22, 2019
New changeset b3be407 by Miss Islington (bot) (Jelle Zijlstra) in branch 'master':
bpo-33482: fix codecs.StreamRecoder.writelines (GH-6779)
b3be407
miss-islington commentedon May 22, 2019
New changeset 81c5ec9 by Miss Islington (bot) (Jelle Zijlstra) in branch '3.7':
[3.7] bpo-33482: fix codecs.StreamRecoder.writelines (GH-6779) (GH-13502)
81c5ec9