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

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: > [...] so I don't see a reason. Thanks for the additional info, agreed then. > [PEPs are] not covered by the commit hook anyway... Probably because it’s not as useful to enforce standards on them, since less people read and edit their source, so no problem. Tha

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

2010-07-10 Thread Georg Brandl
Georg Brandl added the comment: > Thanks for the answer. Perhaps it would be useful to mention trailing > whitespace and ^L in http://docs.python.org/documenting/style.html? So far, I guess nobody has tried to check in a ^L, and nobody has complained about the commit hook that rejects trailing

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

2010-07-10 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the answer. Perhaps it would be useful to mention trailing whitespace and ^L in http://docs.python.org/documenting/style.html? As for PEPs, I guess it’s less important that they conform to these standards, since they’re more an internal documentation.

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

2010-07-10 Thread Georg Brandl
Georg Brandl added the comment: This script is mainly meant to fix files according to our standards, and I don't want ^L in them. Thus, I'm rejecting this. -- nosy: +georg.brandl resolution: -> rejected status: open -> closed ___ Python tracker <

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

2010-07-10 Thread Éric Araujo
New submission from Éric Araujo : 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 a