[issue30591] textwrap: placeholder backtracking special case lacks test coverage

2017-06-09 Thread Jonathan Eunice
Changes by Jonathan Eunice : -- pull_requests: +2127 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30591] textwrap: placeholder backtracking special case lacks test coverage

2017-06-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.7 -Python 3.6 ___ Python tracker ___ ___

[issue30591] textwrap: placeholder backtracking special case lacks test coverage

2017-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5edf827c8052958b9d293f75ce8d93b66c1d58da by Serhiy Storchaka (Jonathan Eunice) in branch 'master': bpo-30591: Added test for textwrap backtracking. (#1988) https://github.com/python/cpython/commit/5edf827c8052958b9d293f75ce8d93b66c1d58da -

[issue30591] textwrap: placeholder backtracking special case lacks test coverage

2017-06-07 Thread Jonathan Eunice
Changes by Jonathan Eunice : -- pull_requests: +2054 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30591] textwrap: placeholder backtracking special case lacks test coverage

2017-06-07 Thread Jonathan Eunice
New submission from Jonathan Eunice: A rare case in textwrap when max_lines insufficient and textwrap needs to backtrack to a previous line to add the placeholder seems to lack test coverage. This issue added as prereq for suggesting an additional test. PR imminent. Code: Lib/textwrap.py (as i