[Python-3000] pyvm module - low level interface to Python's VM
Terry Reedy
tjreedy at udel.edu
Fri Nov 30 01:44:03 CET 2007
"Christian Heimes" <lists at cheimes.de> wrote in message
news:fimpkk$405$1 at ger.gmane.org...
| Shorah!
|
| I've started to work on a pyvm module patch today. The new
| module is going to contain low level interfaces to Python's VM and some
| low level types, too. So far my first version contains only a bunch of
| types.
|
| What methods do you like to move to the new module? I was thinking about
| sys.get/setcheckinterval, sys.get/setrecursionlimit, sys.getrefcount,
| sys.gettotalrefcount.
These are seem vm related to me too.
|Maybe sys._current_frames, sys._getframe and
Hmm. The idea of execution frames strikes me as somewhat independent of
vm. In practice, they are associated with exceptions and tracebacks. If
these were also split off from sys in another separate module, I would look
there for the frame functions.
| sys.builtin_module_names, too.
This strikes me as a packaging issue rather than vm issue.
tjr
More information about the Python-3000
mailing list