Register warnings and exceptions with pybind
Register warnings and exceptions with pybind

Suppress warnings so they don't print to stderr or stdout at bad times

Not sure if it's possible to define Python exception QPDFError...

Warnings don't seem to work...

pikepdf/pikepdf,pikepdf/pikepdf,pikepdf/pikepdf