[Python-Dev] importlib is now bootstrapped (and what that means)
solipsis at pitrou.net
Mon Apr 16 18:31:16 CEST 2012
On Mon, 16 Apr 2012 12:15:16 -0400
"R. David Murray" <rdmurray at bitdance.com> wrote:
> I don't see how depending on Cython is better than depending on having
> an existing Python. If the only benefit is semi-readable code, surely
> we do have source code for the pre-frozen module, and it is just a matter
> of convincing hg that the bytecode is binary, not text?
> Brett's earlier thought of compiling from source as a *fallback* makes
> sense to me. I'd rather not add overhead to startup that we can avoid.
Compiling from source at which point, though?
In essence, that would mean reimplement Python/freeze_importlib.py in C?
We could even compile it to a separate executable that gets built
before the Python executable (like pgen) :-)
More information about the Python-Dev