Silence warnings from Python files
Review Request #960 — Created Sept. 29, 2021 and submitted
Python.hheader must be included first to appease the preprocessor.
Additionally, it includes
<stdlib.h>, so we don't have to.
Mark Python code as
We don't use any
#format variants, but it's best to define this for any future usage.
Remove unused struct members from Python loader
I believe the call to
g_utf8_strrchrwas in error, as the second argument is
length in bytes, but
g_utf8_strlenreturns length in characters, which is
shorter. In any case, it accepts -1 anyway, so there's no need to count the