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

Use html.escape for python >= 3.4 #1258

Merged
merged 1 commit into from
Jul 18, 2019
Merged

Use html.escape for python >= 3.4 #1258

merged 1 commit into from
Jul 18, 2019

Conversation

MattBlack85
Copy link
Contributor

@MattBlack85 MattBlack85 commented Jul 18, 2019

fix #1257

the html module is missing in python 2 and I don't think is worth using cgi only for 3.8+ so I opted for cgi on python 2 and html for python 3+

@MattBlack85 MattBlack85 changed the title Replace cgi.escape with html.escape for python 3.8 compatibility Use html.escape for python >= 3.4 Jul 18, 2019
@mnaberez mnaberez merged commit 02bb425 into Supervisor:master Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

python 3.8 cgi.escape function removed
2 participants