Closed arvidma closed 3 years ago
cgi.escape has been deprecated since Python 3.2 and is gone in recent versions. Also turn SVG into a string object, without leading b' prefix, so that flamegraph doesn't fail to behave.
Let me know if Python 2 compatibility is still important to you, and I'll make a new PR with cross-compatible versions of the changes.
Doing PR towards https://github.com/pgsql-io/plprofiler/ instead.
cgi.escape has been deprecated since Python 3.2 and is gone in recent versions. Also turn SVG into a string object, without leading b' prefix, so that flamegraph doesn't fail to behave.