diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-01-25 20:11:23 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-01-25 20:11:23 (GMT) |
commit | 4588c78fafd569deb21b1a721a8507636a507837 (patch) | |
tree | 0da0ac42b584300348e12c9083ccba40e6912b36 /Lib/test/output/test_scope | |
parent | 5e2d0764cd95b40de64fff54e14091e0e6bdf6f6 (diff) | |
download | cpython-4588c78fafd569deb21b1a721a8507636a507837.zip cpython-4588c78fafd569deb21b1a721a8507636a507837.tar.gz cpython-4588c78fafd569deb21b1a721a8507636a507837.tar.bz2 |
PEP 227 implementation
New tests cases for nested scopes.
Diffstat (limited to 'Lib/test/output/test_scope')
-rw-r--r-- | Lib/test/output/test_scope | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Lib/test/output/test_scope b/Lib/test/output/test_scope new file mode 100644 index 0000000..3ada943 --- /dev/null +++ b/Lib/test/output/test_scope @@ -0,0 +1,13 @@ +test_scope +1. simple nesting +2. extra nesting +3. simple nesting + rebinding +4. nesting with global but no free +5. nesting through class +6. nesting plus free ref to global +7. nearest enclosing scope +8. mixed freevars and cellvars +9. free variable in method +10. recursion +11. unoptimized namespaces +12. lambdas |