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

barry.warsaw python-checkins at python.org
Sat Feb 27 17:29:17 CET 2010


Author: barry.warsaw
Date: Sat Feb 27 17:29:17 2010
New Revision: 78503

Log:
more updates from python-dev discussion

Modified:
   peps/trunk/pep-3147.txt

Modified: peps/trunk/pep-3147.txt
==============================================================================
--- peps/trunk/pep-3147.txt	(original)
+++ peps/trunk/pep-3147.txt	Sat Feb 27 17:29:17 2010
@@ -525,6 +525,19 @@
   would have to be enabled explicitly by the application.  Either
   Python would provide such a custom importer or it would be left to
   third parties to implement.
+* Add a marker to a package's `__init__.py` file to enable
+  bytecode-only imports for everything else in the package.
+
+
+__cached__ vs. __compiled__
+----------------------------
+
+Guido says: "I still prefer __compiled__ over __cached__ but I don't
+feel strong about it."
+
+Barry likes `__cached__` because it the more general term seems to fit
+in better with future possible use cases such as JIT output from
+Unladen Swallow.
 
 
 References


More information about the Python-checkins mailing list