Except the extension API, the interpreter must be a perfect port of the Python implementation. While the extension API is different (due to the different underlying language), hooks must be provided ...