[Python-ideas] Provide a way to import module without exec body

Chris Angelico rosuav at gmail.com
Fri Dec 1 03:27:58 EST 2017


On Fri, Dec 1, 2017 at 7:13 PM, Neil Schemenauer
<nas-python-ideas at arctrix.com> wrote:
> I have been working on reducing Python statup time.  It would be
> nice if there was some way to load a module into memory without exec
> of its body code.  I'm sure other people have wished for this.

I haven't. Can you elaborate on where this is useful, please?

ChrisA


More information about the Python-ideas mailing list