<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/symtable.h, branch v2.4a2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/symtable.h?h=v2.4a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/symtable.h?h=v2.4a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-05-19T08:20:33Z</updated>
<entry>
<title>SF patch #872326:  Generator expression implementation</title>
<updated>2004-05-19T08:20:33Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-05-19T08:20:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=354433a59dd1701985ec8463ced25a967cade3c1'/>
<id>urn:sha1:354433a59dd1701985ec8463ced25a967cade3c1</id>
<content type='text'>
(Code contributed by Jiwon Seo.)

The documentation portion of the patch is being re-worked and will be
checked-in soon.  Likewise, PEP 289 will be updated to reflect Guido's
rationale for the design decisions on binding behavior (as described in
in his patch comments and in discussions on python-dev).

The test file, test_genexps.py, is written in doctest format and is
meant to exercise all aspects of the the patch.  Further additions are
welcome from everyone.  Please stress test this new feature as much as
possible before the alpha release.
</content>
</entry>
<entry>
<title>Fix for SF [ 734869 ] Lambda functions in list comprehensions</title>
<updated>2003-05-21T17:34:50Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-05-21T17:34:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4d508adae3101434ae62be1c140e9877673dc257'/>
<id>urn:sha1:4d508adae3101434ae62be1c140e9877673dc257</id>
<content type='text'>
The compiler was reseting the list comprehension tmpname counter for each function, but the symtable was using the same counter for the entire module.  Repair by move tmpname into the symtable entry.

Bugfix candidate.
</content>
</entry>
<entry>
<title>Constify filenames and scripts. Fixes #651362.</title>
<updated>2002-12-11T14:04:59Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-12-11T14:04:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=95292d6caa3af3196c5b9f5f95dae209815c09e5'/>
<id>urn:sha1:95292d6caa3af3196c5b9f5f95dae209815c09e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Excise DL_EXPORT from Include.</title>
<updated>2002-08-12T07:21:58Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-08-12T07:21:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91a681debf9ffec155d0aff8a0bb5f965f592e16'/>
<id>urn:sha1:91a681debf9ffec155d0aff8a0bb5f965f592e16</id>
<content type='text'>
Thanks to Skip Montanaro and Kalle Svensson for the patches.
</content>
</entry>
<entry>
<title>Remove st_nested_scopes from struct symtable,</title>
<updated>2001-08-11T21:51:24Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-11T21:51:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1abf610b154cc727f219fd52b2c1f868584a6e7b'/>
<id>urn:sha1:1abf610b154cc727f219fd52b2c1f868584a6e7b</id>
<content type='text'>
because nested scopes are always enabled.

(Accidentally checked in one small change along this path yesterday,
wreaking havoc in the Windows build.)
</content>
</entry>
<entry>
<title>Merging the gen-branch into the main line, at Guido's direction.  Yay!</title>
<updated>2001-06-18T22:08:13Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-18T22:08:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5ca576ed0a0c697c7e7547adfd0b3af010fd2053'/>
<id>urn:sha1:5ca576ed0a0c697c7e7547adfd0b3af010fd2053</id>
<content type='text'>
Bugfix candidate in inspect.py:  it was referencing "self" outside of
a method.
</content>
</entry>
<entry>
<title>Set the line number correctly for a nested function with an exec or</title>
<updated>2001-03-22T03:57:58Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-03-22T03:57:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e2cded1b56cc5488f49d395b46131fd995b02bc'/>
<id>urn:sha1:2e2cded1b56cc5488f49d395b46131fd995b02bc</id>
<content type='text'>
import *.  Mark the offending stmt rather than the function def line.
</content>
</entry>
<entry>
<title>add DEF_BOUND</title>
<updated>2001-02-28T23:03:39Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-28T23:03:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=99858b53fc47c98d04357e6a1c0aa5634a443415'/>
<id>urn:sha1:99858b53fc47c98d04357e6a1c0aa5634a443415</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improved __future__ parser; still more to do</title>
<updated>2001-02-27T19:07:02Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-27T19:07:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4db62b1e14ed909d4bd574633a11c45455c76beb'/>
<id>urn:sha1:4db62b1e14ed909d4bd574633a11c45455c76beb</id>
<content type='text'>
Makefile.pre.in: add target future.o

Include/compile.h: define PyFutureFeaters and PyNode_Future()
                   add c_future slot to struct compiling

Include/symtable.h: add st_future slot to struct symtable

Python/future.c: implementation of PyNode_Future()

Python/compile.c: use PyNode_Future() for nested_scopes support

Python/symtable.c: include compile.h to pick up PyFutureFeatures decl
</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>
</feed>
