{{ message }}
gh-104773: PEP 594: Remove cgi and cgitb modules - #104775
Merged
Merged
Conversation
19 tasks
Member
Author
vstinner
force-pushed
the
remove_cgi
branch
2 times, most recently
from
May 23, 2023 00:36
7a4a015 to
7cbc500
Compare
Member
Author
|
Update: fix test_pyclbr. |
gpshead
approved these changes
May 23, 2023
Member
Author
|
It seems like try:
from html import escape
except ImportError:
from cgi import escape |
Member
Author
|
Using Affected projects (91):
DetailsCode: |
hugovk
self-requested a review
May 23, 2023 09:44
vstinner
force-pushed
the
remove_cgi
branch
2 times, most recently
from
May 24, 2023 07:38
c0001e7 to
734ae51
Compare
Member
Author
|
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.
Member
Author
|
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. |
Member
Author
|
Bye bye cgi! I added instructions on how to port existing code. |
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

test_pyclbr no longer tests the cgi module.
📚 Documentation preview 📚: https://cpython-previews--104775.org.readthedocs.build/