[Python-Dev] PEP 3147: PYC Repository Directories (original) (raw)
Barry Warsaw barry at python.org
Sun Feb 7 19:17:29 CET 2010
- Previous message: [Python-Dev] PEP 3147: PYC Repository Directories
- Next message: [Python-Dev] PEP 3147: PYC Repository Directories
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jan 31, 2010, at 11:34 PM, Nick Coghlan wrote:
I must admit I quite like the pyr directory approach as well. Since the interpreter knows the suffix it is looking for, names shouldn't conflict. Using a single directory allows the name to be less cryptic, too (e.g. pycache).
Something else that occurs to me; the name of the directory (under folder-per-folder approach) probably ought to be the same as the name of the module attribute. There's probably no good reason to make it different, and making it the same makes the association stronger.
That still gives us plenty of opportunity to bikeshed, but pycache seems reasonable to me (it's the cache of parsing and compiling the .py file).
-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/82c75f4e/attachment.pgp>
- Previous message: [Python-Dev] PEP 3147: PYC Repository Directories
- Next message: [Python-Dev] PEP 3147: PYC Repository Directories
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]