
March 30, 2011
2:36 p.m.
Den 30.03.2011 06:00, skrev Nick Coghlan:
Yikes, at least stick a try-finally in there! If you must practice evil, practice safe evil ;)
I wasn't suggestion that one should actually do this. It was jut to show that the C API is exposed to Python. Well, _Py_Ticker is not even in the C API, but it's not declared static so we can do bad things with it from outside. The point is still that ctypes.pythonapi is the DLL containing the CPython interpreter. Sturla