From 3e2085f82e873d1c587823c929b13b161e293061 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 27 Feb 2006 16:26:26 +0000 Subject: [PATCH] Minor updates --- pep-3000.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pep-3000.txt b/pep-3000.txt index c2cb64a6b..bc4fe7d44 100644 --- a/pep-3000.txt +++ b/pep-3000.txt @@ -68,9 +68,12 @@ Core language 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: