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
{{ message }}
Repository navigation
Use io.IncrementalNewlineDecoder for doctest newline conversion #87215
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.
Activity
pdonis commentedon Jan 28, 2021
This is a follow-up to bpo-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.
zware commentedon Mar 2, 2021
New changeset b36349a by Peter Donis in branch 'master':
bpo-43049: Use io.IncrementalNewlineDecoder for doctest newline conversion (GH-24359)
b36349a
zware commentedon Mar 2, 2021
Thanks for the patch!
pdonis commentedon Mar 3, 2021
Thanks for merging!