bpo-10716: Migrating pydoc to html5.#28651
Conversation
1576d72 to
e1944db
Compare
|
Ohhh, interesting, cgitb depends on pydoc, so if I use css in pydoc... oh wow. |
e1944db to
5eaf66a
Compare
293abb9 to
20db0b3
Compare
|
So I modified cgitb a bit to not depend on html rendered by pydoc. I also had to modify pydoc test which were extremely strict in the output expected, I tried to still check that every bit of important info are given, while not being strict on the HTML used. |
|
TIL about ServerHTMLDoc... |
c4c9cfc to
98a3bc3
Compare
|
I'd like to merge this, does someone still want to proof-read first? |
|
I haven’t had a chance to run it locally to see the results yet. |
|
This could get a note in the release notes (for pydoc and xmlrpc — cgitb is unchanged) |
98a3bc3 to
de955fe
Compare
True, done. |
Misc/NEWS.d/next/Library/2021-10-08-04-11-55.bpo-10716.QSRVK2.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Library/2021-10-08-04-11-55.bpo-10716.QSRVK2.rst
Outdated
Show resolved
Hide resolved
|
Thank you for your efforts in tackling this! It was needed and is the basis for future improvements. I have added some final questions on some details. (If you make changes, please avoid force-pushing to make reviewing easier.) |
|
Thanks @merwok and @rhettinger for the review! |




I tried myself at porting pydoc to html5.
I though (hoped?) the commit would be smaller, I tried to keep it as small as possible. I did not tried to enhance the graphical result, I just focused on HTML modernisation as a fist step.
https://bugs.python.org/issue10716