Seems the wrong way round, patching the system to make a plugin work

I suppose you have to if there's no source for the plugin and not much chance of it surfacing. Reverse the compiled pyo?