Repository navigation
Conversation
… tests for replace_whitespace and fold_space_newline
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
Could you re-target whatsnew for 3.12? |
|
@MaxwellDupre moved the what's new note from 3.11 to 3.12. |
|
Built fresh with But fails: Traceback (most recent call last): Im on Fedora 5.18.6-200.fc36.x86_64 |
|
This PR is stale because it has been open for 30 days with no activity. |
# Conflicts: # Doc/whatsnew/3.12.rst
Documentation build overview
|
The new option
fold_space_newlineperforms a more natural whitespace replacement for newlines, e.g.More importantly, it allows for "stable" wrapping when combined with
drop_whitespace=False, i.e. wrap() can be applied multiple times producing the same output (see the Issue).https://bugs.python.org/issue32397