Re: revised import.c

Guido.van.Rossum@cwi.nl
Sun, 01 Aug 1993 14:47:49 +0200

> My vote goes for some runtime control in fact, as I've mentioned
> before, I'd actually like to be able to 'compile' Python code and run
> from memory.

Note that you can do this with the new compile() built-in function
which turns a string into a code object; exec() and eval() will accept
code objects and run them. (This was done so I could implement the
"freeze" script.)

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>