[New-bugs-announce] [issue9219] Make reindent-rst.py preserve ^L

Éric Araujo report at bugs.python.org
Sat Jul 10 21:51:07 CEST 2010


New submission from Éric Araujo <merwok at netwok.org>:

Tools/scripts/reindent-rst.py strips trailing whitespace from reST files, including ^L. ISTM that this character is always used explicitly, not by oversight, e.g. by people wanting their editor to paginate files like plain text PEPs. I suggest that the regex at the core of the script be changed to let ^L alone.

This is arguably a bug fix, depending on your definition of “trailing whitespace”, but I’m not sure at all whether it should be in 2.7.1.

----------
keywords: easy
messages: 109918
nosy: merwok
priority: low
severity: normal
status: open
title: Make reindent-rst.py preserve ^L
type: feature request
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9219>
_______________________________________


More information about the New-bugs-announce mailing list