gh-104773: PEP 594: Remove cgi and cgitb modules#104775
gh-104773: PEP 594: Remove cgi and cgitb modules#104775vstinner merged 2 commits intopython:mainfrom
Conversation
|
PR updated to fix the doc: |
7a4a015 to
7cbc500
Compare
|
Update: fix test_pyclbr. |
|
It seems like try:
from html import escape
except ImportError:
from cgi import escape |
|
Using Affected projects (91):
DetailsCode: |
c0001e7 to
734ae51
Compare
|
test_importlib modified the environment on the Ubuntu job. I wrote a fix for that: #104840 |
* Replace "cgi" with "!cgi" in the Sphinx documentation to avoid warnings on broken references. * test_pyclbr no longer tests the cgi module.
|
I re-ran the Ubuntu job and test_importlib failed again.
I merged the test_importlib fix. I rebased my PR on top of it. |
|
Bye bye cgi! I added instructions on how to port existing code. |
|
@JulienPalard: Oh, I'm surprising that sphinx-lint missing this typo: |
test_pyclbr no longer tests the cgi module.
📚 Documentation preview 📚: https://cpython-previews--104775.org.readthedocs.build/