register_suppress_warnings_handler function

Register a handler for calls to py_suppress_warnings