##// END OF EJS Templates
py3: pass a bytes value for "msg" to nouideprecwarn()...
py3: pass a bytes value for "msg" to nouideprecwarn() That function formats "msg" with the "version" value. On Python 3, this leads to "TypeError: can only concatenate str (not "bytes") to str". Also eliminate spurious strings concatenation in single-line declarations. Differential Revision: https://phab.mercurial-scm.org/D7373

File last commit:

r41049:ef103c96 default
r44018:c207c46a default
Show More
pyutil.h
9 lines | 128 B | text/x-c | CLexer
Augie Fackler
fuzz: extract Python initialization to utility package...
r41049 #include <Python.h>
namespace contrib
{
void initpy(const char *cselfpath);
PyObject *pyglobals();
} /* namespace contrib */