[New-bugs-announce] [issue43049] Use io.IncrementalNewlineDecoder for doctest newline conversion

Peter Donis report at bugs.python.org
Wed Jan 27 21:10:04 EST 2021


New submission from Peter Donis <peterdonis at alum.mit.edu>:

This is a follow-up to issue 1812:

https://bugs.python.org/issue1812

It was suggested in the discussion on that issue that the newline conversion in doctest that was corrected in that issue could be done using already defined resources in the io module instead of by a custom function. This issue is to provide an issue number for my pull request on github to do that: the io module provides the IncrementalNewlineDecoder object that does exactly what is needed.

----------
components: Tests
messages: 385830
nosy: pdonis
priority: normal
severity: normal
status: open
title: Use io.IncrementalNewlineDecoder for doctest newline conversion
type: enhancement
versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43049>
_______________________________________


More information about the New-bugs-announce mailing list