[Python-checkins] r83055 - peps/trunk/pep-3150.txt

nick.coghlan python-checkins at python.org
Thu Jul 22 15:01:58 CEST 2010


Author: nick.coghlan
Date: Thu Jul 22 15:01:57 2010
New Revision: 83055

Log:
Rephrase the new TODO items based on python-ideas thread

Modified:
   peps/trunk/pep-3150.txt

Modified: peps/trunk/pep-3150.txt
==============================================================================
--- peps/trunk/pep-3150.txt	(original)
+++ peps/trunk/pep-3150.txt	Thu Jul 22 15:01:57 2010
@@ -392,10 +392,12 @@
 * Define the expected semantics of ``break``, ``continue``, ``return``
   and ``yield`` in a ``given`` clause (i.e. syntax errors at the clause
   level, but allowed inside the appropriate compound statements)
-* Define the expected semantics of ``nonlocal`` and ``global`` in the
-  ``given`` clause
-* Define the name lookup semantics for function definitions in a
-  ``given`` clause at function, class and module scope.
+* Describe the expected semantics of ``nonlocal`` and ``global`` in the
+  ``given`` clause.
+* Describe the name lookup semantics for function definitions in a
+  ``given`` clause at function, class and module scope. In particular,
+  note the early binding effect on loop variables or other variables
+  that are rebound after the ``given`` clause is complete.
 
 
 References


More information about the Python-checkins mailing list