New submission from Éric Araujo <mer...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9219>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to