Brett Cannon <br...@python.org> added the comment:

Just because I was thinking about it, I wonder if necessarily all the frozen 
stuff really needs to stay in import.c. I mean a frozen module is really just 
an entry in an array of structs that has a name of an char*[]. I don't see why 
one couldn't simply have a get_frozen_bytes() method to convert that char*[] 
into a bytes object and use that to construct a module in pure Python code.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13959>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to