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

The cgi.escape function is gone in Python 3.8 #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jlaine
Copy link

@jlaine jlaine commented Sep 10, 2020

Use html.escape when available and fall back to cgi.escape for older
Python versions.

prismic/fragments.py Outdated Show resolved Hide resolved
Use html.escape instead which has been available since Python 3.2.
@jlaine
Copy link
Author

jlaine commented Apr 20, 2022

Are there any plans to merge this or should I just close this PR?

Currently the last supported Python release which works with this package is 3.7 (end of life: 2023), all subsequent Python versions are broken.

@eboileau eboileau mentioned this pull request May 12, 2022
3 tasks
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.

None yet

2 participants