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

python 3.8 cgi.escape function removed #1257

Closed
MattBlack85 opened this issue Jul 18, 2019 · 0 comments · Fixed by #1258
Closed

python 3.8 cgi.escape function removed #1257

MattBlack85 opened this issue Jul 18, 2019 · 0 comments · Fixed by #1258
Labels

Comments

@MattBlack85
Copy link
Contributor

In python 3.8 cgi.escape will be removed

  File "/usr/local/lib/python3.8/site-packages/supervisor/supervisord.py", line 40, in <module>
    from supervisor.options import ServerOptions
  File "/usr/local/lib/python3.8/site-packages/supervisor/options.py", line 54, in <module>
    from supervisor import xmlrpc
  File "/usr/local/lib/python3.8/site-packages/supervisor/xmlrpc.py", line 24, in <module>
    from supervisor.http import NOT_DONE_YET
  File "/usr/local/lib/python3.8/site-packages/supervisor/http.py", line 24, in <module>
    from supervisor.medusa import default_handler
  File "/usr/local/lib/python3.8/site-packages/supervisor/medusa/default_handler.py", line 20, in <module>
    from supervisor.medusa.util import html_repr
  File "/usr/local/lib/python3.8/site-packages/supervisor/medusa/util.py", line 1, in <module>
    from cgi import escape
ImportError: cannot import name 'escape' from 'cgi' (/usr/local/lib/python3.8/cgi.py)

https://docs.python.org/3.8/library/cgi.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants