Skip to content

IncrementalNewlineDecoder.decode accepts bytes#3312

Merged
srittau merged 1 commit intopython:masterfrom
rmorshea:patch-2
Oct 6, 2019
Merged

IncrementalNewlineDecoder.decode accepts bytes#3312
srittau merged 1 commit intopython:masterfrom
rmorshea:patch-2

Conversation

@rmorshea
Copy link
Contributor

@rmorshea rmorshea commented Oct 6, 2019

The decode method of IncrementalNewlineDecoder accepts a string when its decoder is None

See: https://github.com/python/cpython/blob/65dcc8a8dc41d3453fd6b987073a5f1b30c5c0fd/Lib/_pyio.py#L1895

Related: #3311

The decode method of IncrementalNewlineDecoder accepts a string when its decoder is None

Related: #3311
@srittau srittau merged commit 3743b64 into python:master Oct 6, 2019
@rmorshea rmorshea deleted the patch-2 branch October 6, 2019 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants