From ceadcf5f92cae7138ae847a7abebe948ac820991 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 23 Mar 2010 23:17:33 +0000 Subject: [PATCH] Update about on-demand creation. --- pep-3147.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/pep-3147.txt b/pep-3147.txt index 65e8f925c..4820a8b10 100644 --- a/pep-3147.txt +++ b/pep-3147.txt @@ -262,7 +262,8 @@ Case 5: read-only file systems When the source lives on a read-only file system, or the `__pycache__` directory or pyc file cannot otherwise be written, all the same rules -apply. +apply. This is also the case when `__pycache__` happens to be written +with permissions which do not allow for writing containing pyc files. @@ -569,6 +570,18 @@ in better with future possible use cases such as JIT output from Unladen Swallow. +On-demand creation +------------------ + +The original use case was to support multiple versions of Python on +the same system. This could be accomplished solely through +pre-creation of `__pycache__` directories during the compilation phase +of installation, without also supporting on-demand creation of the +`__pycache__` directories. It seems however the consensus to be that +on-demand creation is useful enough to keep since it reduces clutter +in source directories. + + References ==========