Skip to content
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

Replace deprecated stdlib calls #1572

Conversation

JeanChristopheMorinPerso
Copy link
Member

@JeanChristopheMorinPerso JeanChristopheMorinPerso commented Nov 7, 2023

Fixes #1463.

Replacing pipes.quote is safe since it was anyway pointing to shlex.quote under the hood (https://github.com/python/cpython/blob/3.5/Lib/pipes.py#L65).

Replace cgi.escape with html.escape is also safe.

This needs to go in 2.114.0 because we want 2.114.0 to be able to live as long as possible.

@JeanChristopheMorinPerso JeanChristopheMorinPerso added this to the 2.114.0 milestone Nov 7, 2023
Signed-off-by: Jean-Christophe Morin <[email protected]>
@JeanChristopheMorinPerso JeanChristopheMorinPerso merged commit 0137866 into AcademySoftwareFoundation:main Nov 10, 2023
34 checks passed
@JeanChristopheMorinPerso JeanChristopheMorinPerso deleted the replace_deprecated_stdlib_calls branch November 10, 2023 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove/replace usage of PEP-0594 deprecated stdlib python modules
1 participant