This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Description
Add patch.monkey entry point because
A) It's a pun I can't resist
B) The p property can then be monkey patched before it is imported by scripts.
The advertised objects should be factories for callables that take the PythonHocInterpreter as argument. The factories themselves are passed the entire PythonHocModule because they can't import patch (circular import as this entry point is called during import of the patch module).
Patch should also get a submodule monkey with in it a method patch because what's better than a pun? A double pun! And with patch.monkey.patch you should be able to watertightly patch some stuff like all the functions that can start a simulation