[New-bugs-announce] [issue31722] _io.IncrementalNewlineDecoder doesn't inherit codecs.IncrementalDecoder
Serhiy Storchaka
report at bugs.python.org
Sat Oct 7 10:26:41 EDT 2017
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
It is documented that io.IncrementalNewlineDecoder inherits codecs.IncrementalDecoder. And the Python implementation does. But the C implementation doesn't.
>>> issubclass(_pyio.IncrementalNewlineDecoder, codecs.IncrementalDecoder)
True
>>> issubclass(_io.IncrementalNewlineDecoder, codecs.IncrementalDecoder)
False
>>> issubclass(io.IncrementalNewlineDecoder, codecs.IncrementalDecoder)
False
----------
components: IO, Library (Lib)
messages: 303879
nosy: benjamin.peterson, serhiy.storchaka, stutzbach
priority: normal
severity: normal
status: open
title: _io.IncrementalNewlineDecoder doesn't inherit codecs.IncrementalDecoder
type: behavior
versions: Python 2.7, Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31722>
_______________________________________
More information about the New-bugs-announce
mailing list