Issue 12307: Inconsistent formatting of section titles in PEP 0 (original) (raw)

Created on 2011-06-10 05:50 by eric.snow, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (10)
msg138050 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2011-06-10 05:50
The formatting for the title of the "Index by Category" section is different from the formatting for the title of the "Numerical Index" section. Not sure if there is a reason behind this, but here's a patch: diff --git a/pep0/output.py b/pep0/output.py --- a/pep0/output.py +++ b/pep0/output.py @@ -169,7 +169,7 @@ print>>output, unicode(pep) print>>output print>>output - print>>output, u" Numerical Index" + print>>output, u"Numerical Index" print>>output write_column_headers(output) prev_pep = 0
msg138199 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-12 09:02
On python.org/dev/peps, I don’t see the extra space that your patch removes.
msg138812 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2011-06-22 00:49
Yeah, the extra space results in a different formatting. Compare "Index by Category" with "Numerical Index".
msg148343 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2011-11-25 17:38
Éric has addressed this in http://hg.python.org/peps/rev/6c7415a4f0f3 (thanks Éric). Do the docs for python.org have to be manually rebuilt or is that on a cron?
msg148402 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-11-26 13:35
I read this report again a few days ago and saw you were right, so I fixed it. Thanks! (The peps repo is not hooked up to close bugs, because we don’t usually use the bug tracker to discuss PEPs (we use mailing lists). The PEPs pages (not docs! :) on python.org are built automatically (doing otherwise would be a shame for programmers in 2010!))
msg148431 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2011-11-27 00:16
Thanks, Éric. That's what I figured. I asked because the PEPs page doesn't appear to reflect the change: http://www.python.org/dev/peps/ I checked to be sure it fixed it before I submitted the patch. That's why I asked about auto-rebuilding.
msg148482 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-11-28 14:08
1b7fed04108c should help make figure out that it needs to rebuild.
msg148483 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-11-28 14:27
Rebuilt! (Another glitch: plain text PEPs really should have an HTML title. If you have time.. :)
msg148506 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2011-11-28 18:07
Thanks, Éric. That looks good. I'll keep that HTML title thing in mind. :)
msg148723 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-12-01 14:11
Plain text PEPs actually have an HTML title, it’s only PEP 0 that does not. I’ll fix that when I get a minute.
History
Date User Action Args
2022-04-11 14:57:18 admin set github: 56516
2011-12-01 14:11:21 eric.araujo set messages: +
2011-11-28 18:07:04 eric.snow set messages: +
2011-11-28 14:27:11 eric.araujo set messages: +
2011-11-28 14:08:48 eric.araujo set messages: +
2011-11-27 00:16:42 eric.snow set messages: +
2011-11-26 13:35:27 eric.araujo set status: open -> closedresolution: fixedmessages: + stage: resolved
2011-11-25 17:38:30 eric.snow set messages: +
2011-06-22 00:49:19 eric.snow set messages: +
2011-06-12 09:02:15 eric.araujo set nosy: + eric.araujomessages: + versions: + 3rd party, - Python 3.3
2011-06-10 05:50:38 eric.snow create