python-kit
python-kit copied to clipboard
AttributeError: module 'cgi' has no attribute 'escape'
Can't use as_html without hitting this exception under Python 3.9
If anyone else is in a rush... 😬
import cgi, html
cgi.escape = html.escape
Yes, it's actually already broken since Python 3.8, see #50