Pybind11 exception registration workaround
Use an older implementation of the register_exception from pybind11 when compiling against Python 3.6 to work around the new implementation hanging when used with Python 3.6.
Use an older implementation of the register_exception from pybind11 when compiling against Python 3.6 to work around the new implementation hanging when used with Python 3.6.