[Python-ideas] A new .pyc file format
jimjjewett at gmail.com
Sat Apr 26 18:21:59 CEST 2008
On 4/25/08, Gabriel Genellina <gagsl-py2 at yahoo.com.ar> wrote:
> The problem is that this [pyc] format is *too* simple. It can't be changed, nor
> can accomodate other fields if desired.
Why do you need to? Except for bootstrapping, can't you make all
these changes with a custom loader/importer?
Shipping python with default support for a new format may be
reasonable as well -- the interpreter already handles both pure python
and extension modules. Even hooking it in as an alternate generated
format just extends the pyo/pyc decision.
Or were you suggesting that the stdlib should use this new format by
default, or even strictly instead of the current format? If so, what
are the advantages in the normal case? (Deferring the load of
docstrings? Better categorization by some external tool?)
More information about the Python-ideas