[Python-Dev] PEP 3147: PYC Repository Directories

Barry Warsaw barry at python.org
Sun Feb 7 18:53:36 CET 2010


On Feb 04, 2010, at 03:00 PM, Glenn Linderman wrote:

>When a PEP 3147 (if modified by my suggestion) version of Python runs, 
>and the directory doesn't exist, and it wants to create a .pyc, it would 
>create the directory, and put the .pyc there.  Sort of just like how it 
>creates .pyc files, now, but an extra step of creating the repository 
>directory if it doesn't exist.  After the first run, it would exist.  It 
>is described in the PEP, and I quoted that section... "Python will 
>create a 'foo.pyr' directory"... I'm just suggesting different semantics 
>for how many directories, and what is contained in them.

I've added __pyr_version__ as an open question in the PEP (not yet committed),
as is making this default behavior (no -R flag required).

-Barry


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100207/0b97a890/attachment.pgp>


More information about the Python-Dev mailing list