[Python-checkins] r50488 - peps/trunk/pep-0361.txt

nick.coghlan python-checkins at python.org
Sat Jul 8 03:50:31 CEST 2006


Author: nick.coghlan
Date: Sat Jul  8 03:50:31 2006
New Revision: 50488

Modified:
   peps/trunk/pep-0361.txt
Log:
Make note about __dir__() in the Python 2.6 PEP

Modified: peps/trunk/pep-0361.txt
==============================================================================
--- peps/trunk/pep-0361.txt	(original)
+++ peps/trunk/pep-0361.txt	Sat Jul  8 03:50:31 2006
@@ -78,6 +78,7 @@
 
         - distutils replacement (requires a PEP)
         - turtle.py replacement or enhancements
+        - adding a __dir__() magic method to control dir() [1]
 
     New modules in the standard library:
 
@@ -113,11 +114,16 @@
     http://python.org/sf/1515609
     http://python.org/sf/1515361
 
-    How should -m work with packages?
-    How should -m work with relative imports?
+    How should -m (and __main__ in general) work with relative imports?
     http://mail.python.org/pipermail/python-dev/2006-June/066161.html
+    (also see the section on main modules in PEP 338)
 
 
+References
+
+    [1] Adding a __dir__() magic method
+        http://mail.python.org/pipermail/python-dev/2006-July/067139.html
+
 Copyright
 
     This document has been placed in the public domain.


More information about the Python-checkins mailing list