[Python-checkins] r42594 - peps/trunk/pep-3000.txt
neal.norwitz
python-checkins at python.org
Mon Feb 27 17:26:26 CET 2006
Author: neal.norwitz
Date: Mon Feb 27 17:26:26 2006
New Revision: 42594
Modified:
peps/trunk/pep-3000.txt
Log:
Minor updates
Modified: peps/trunk/pep-3000.txt
==============================================================================
--- peps/trunk/pep-3000.txt (original)
+++ peps/trunk/pep-3000.txt Mon Feb 27 17:26:26 2006
@@ -68,9 +68,12 @@
Relative imports must be explicitly specified [19]_
* __init__.py will be optional in sub-packages. __init__.py will still
be required for top-level packages.
-* Cleanup the Py_InitModule() variants {,3,4}
+* Cleanup the Py_InitModule() variants {,3,4} (also import and parser APIs)
* Cleanup the APIs exported in pythonrun, etc.
* Fix (or remove) {}.setdefault() [21]_
+* List comprehensions will require parentheses around the iterables.
+ This will make list comprehensions more similar to generator comprehensions.
+ [x for x in 1, 2] will need to be: [x for x in (1, 2)]
To be removed:
More information about the Python-checkins
mailing list