[Python-checkins] r79357 - peps/trunk/pep-3147.txt

barry.warsaw python-checkins at python.org
Wed Mar 24 00:17:33 CET 2010


Author: barry.warsaw
Date: Wed Mar 24 00:17:33 2010
New Revision: 79357

Log:
Update about on-demand creation.


Modified:
   peps/trunk/pep-3147.txt

Modified: peps/trunk/pep-3147.txt
==============================================================================
--- peps/trunk/pep-3147.txt	(original)
+++ peps/trunk/pep-3147.txt	Wed Mar 24 00:17:33 2010
@@ -262,7 +262,8 @@
 
 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 @@
 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
 ==========
 


More information about the Python-checkins mailing list