-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-104773: PEP 594: Remove cgi and cgitb modules #104775
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):
Code:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹
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/