<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_scope.py, branch v2.1c2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_scope.py?h=v2.1c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_scope.py?h=v2.1c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-04-13T16:51:46Z</updated>
<entry>
<title>Change error message raised when free variable is not yet bound.  It</title>
<updated>2001-04-13T16:51:46Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-13T16:51:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c76770c68c40021322c221dd6bcd62bf98356a33'/>
<id>urn:sha1:c76770c68c40021322c221dd6bcd62bf98356a33</id>
<content type='text'>
now raises NameError instead of UnboundLocalError, because the var in
question is definitely not local.  (This affects test_scope.py)

Also update the recent fix by Ping using get_func_name().  Replace
tests of get_func_name() return value with call to get_func_desc() to
match all the other uses.
</content>
</entry>
<entry>
<title>Add tests for recent changes:</title>
<updated>2001-03-21T16:44:39Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-21T16:44:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c7a2513ec277c6c4f5ab4f44b461aeb17a850c4'/>
<id>urn:sha1:5c7a2513ec277c6c4f5ab4f44b461aeb17a850c4</id>
<content type='text'>
- global stmt in class does not affect free vars in methods
- locals() works with free and cell vars
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-03-16T08:29:48Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-03-16T08:29:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=30edd2387d5d5c1a266956434ebaed59ccfb923f'/>
<id>urn:sha1:30edd2387d5d5c1a266956434ebaed59ccfb923f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add test to verify that nested functions with free variables don't</title>
<updated>2001-03-13T02:01:12Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-13T02:01:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5b44a67bdb67545679a2e1bfcf482996f8d8abb5'/>
<id>urn:sha1:5b44a67bdb67545679a2e1bfcf482996f8d8abb5</id>
<content type='text'>
cause the free variables to leak.
</content>
</entry>
<entry>
<title>Test interaction of global and nested scopes -- thanks to Samuele Pedroni.</title>
<updated>2001-03-01T20:35:45Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-03-01T20:35:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9aa643cf6909170d31cfff955318ea7317234663'/>
<id>urn:sha1:9aa643cf6909170d31cfff955318ea7317234663</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add from __future__ import nested_scopes to strings passed to compile</title>
<updated>2001-02-27T20:23:58Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-27T20:23:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5941d191deaf2a0c8eab5ce75316067ed16dfb1a'/>
<id>urn:sha1:5941d191deaf2a0c8eab5ce75316067ed16dfb1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Preliminary support for future nested scopes</title>
<updated>2001-02-27T04:23:34Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-27T04:23:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=29906eef3a56c43a4cd68a8706c75844b2384e59'/>
<id>urn:sha1:29906eef3a56c43a4cd68a8706c75844b2384e59</id>
<content type='text'>
compile.h: #define NESTED_SCOPES_DEFAULT 0 for Python 2.1
           __future__ feature name: "nested_scopes"

symtable.h: Add st_nested_scopes slot.  Define flags to track exec and
    import star.

Lib/test/test_scope.py: requires nested scopes

compile.c: Fiddle with error messages.

    Reverse the sense of ste_optimized flag on
    PySymtableEntryObjects.  If it is true, there is an optimization
    conflict.

    Modify get_ref_type to respect st_nested_scopes flags.

    Refactor symtable_load_symbols() into several smaller functions,
    which use struct symbol_info to share variables.  In new function
    symtable_update_flags(), raise an error or warning for import * or
    bare exec that conflicts with nested scopes.  Also, modify handle
    for free variables to respect st_nested_scopes flag.

    In symtable_init() assign st_nested_scopes flag to
    NESTED_SCOPES_DEFAULT (defined in compile.h).

    Add preliminary and often incorrect implementation of
    symtable_check_future().

    Add symtable_lookup() helper for future use.
</content>
</entry>
<entry>
<title>Add test for syntax error on "x = 1 + 1".</title>
<updated>2001-02-19T15:35:26Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-19T15:35:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4779399e9f4ff6fe7734fa9931aa6df82a98da24'/>
<id>urn:sha1:4779399e9f4ff6fe7734fa9931aa6df82a98da24</id>
<content type='text'>
Move check_syntax() function into test_support.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-02-15T23:56:39Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-02-15T23:56:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0e6d213177dd571dd634d286ae45c38eb06d63b9'/>
<id>urn:sha1:0e6d213177dd571dd634d286ae45c38eb06d63b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update test cases for recent compiler changes: exec/import * in nested</title>
<updated>2001-02-09T22:56:46Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-09T22:56:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=97a01674b25739e0fc9e534dacf5a683d8b399e0'/>
<id>urn:sha1:97a01674b25739e0fc9e534dacf5a683d8b399e0</id>
<content type='text'>
functinos and cell vars with */** parameters
</content>
</entry>
</feed>
