Rephrase the new TODO items based on python-ideas thread

This commit is contained in:
Nick Coghlan 2010-07-22 13:01:57 +00:00
parent 0490e0fcd4
commit dd3aa2ceb8
1 changed files with 6 additions and 4 deletions

View File

@ -392,10 +392,12 @@ TO-DO
* 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