<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/compiler/pycodegen.py, branch v2.2a3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/compiler/pycodegen.py?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/compiler/pycodegen.py?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-08-30T20:25:55Z</updated>
<entry>
<title>Fix _convert_NAME() so that it doesn't store locals for class bodies.</title>
<updated>2001-08-30T20:25:55Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-30T20:25:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=71ebc3359bb1a5106ba3c282746817d5d44e735b'/>
<id>urn:sha1:71ebc3359bb1a5106ba3c282746817d5d44e735b</id>
<content type='text'>
Fix list comp code generation -- emit GET_ITER instead of Const(0)
after the list.

Add CO_GENERATOR flag to generators.

Get CO_xxx flags from the new module
</content>
</entry>
<entry>
<title>spurious pop</title>
<updated>2001-08-30T15:50:34Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-30T15:50:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f71b5fec4390bd7b40c7eb7aaefc79125249c5ec'/>
<id>urn:sha1:f71b5fec4390bd7b40c7eb7aaefc79125249c5ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Track the block stack more reasonably in order to handle continue in</title>
<updated>2001-08-29T22:30:09Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-29T22:30:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e4685ec57e74ec37f234907df45159bcd1899a25'/>
<id>urn:sha1:e4685ec57e74ec37f234907df45159bcd1899a25</id>
<content type='text'>
try/except or try/finally.

Previous versions had only track SETUP_LOOP blocks and ignored the
exception part.  This meant that it allowed continue inside a
try/except but generated buggy code.  Now it does the right thing.
</content>
</entry>
<entry>
<title>Generate SET_LINENO for list and tuple literals when the open paren</title>
<updated>2001-08-29T20:57:43Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-29T20:57:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1936745668f44dd121b50fef31a70efc07cc4ebf'/>
<id>urn:sha1:1936745668f44dd121b50fef31a70efc07cc4ebf</id>
<content type='text'>
starts a new line.

Also fix undetected typo in visitDict() -- uncovered by recent change
to add lineno attrs to atoms.
</content>
</entry>
<entry>
<title>Support // and //=</title>
<updated>2001-08-29T18:14:39Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-29T18:14:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=94afe32b5eabf962c872850b10886f4545b02614'/>
<id>urn:sha1:94afe32b5eabf962c872850b10886f4545b02614</id>
<content type='text'>
Generate SET_LINENO for del statements.

Define klass=1 for PyFlowGraph constructor for a class statement.  A
class has no varnames.
</content>
</entry>
<entry>
<title>Make sure the JUMP_ABSOLUTE and POP_BLOCK at the end of a for loop are</title>
<updated>2001-08-28T17:28:33Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-28T17:28:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2ac9c3eec5807b6032e5aef6481fcf67c1965efc'/>
<id>urn:sha1:2ac9c3eec5807b6032e5aef6481fcf67c1965efc</id>
<content type='text'>
contiguous.
</content>
</entry>
<entry>
<title>Generate FOR_ITER-based loops instead of old FOR_LOOP-based loops</title>
<updated>2001-08-28T16:35:18Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-28T16:35:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f354575328becbdd21a92f0386db6568dcdd8d45'/>
<id>urn:sha1:f354575328becbdd21a92f0386db6568dcdd8d45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Handle private names</title>
<updated>2001-08-27T22:56:16Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-27T22:56:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c59e22000082722655517942d7662eec5a4a70ce'/>
<id>urn:sha1:c59e22000082722655517942d7662eec5a4a70ce</id>
<content type='text'>
(Hard to believe these were never handled before)

Add misc.mangle() that mangles based on the rules in compile.c.
XXX Need to test the corner cases

Update CodeGenerator with a class_name attribute bound to None.  If a
particular instance is created within a class scope, the instance's
class_name is bound to that class's name.

Add mangle() method to CodeGenerator that mangles if the class_name
has a class_name in it.

Modify the FunctionCodeGenerator family to handle an extra argument--
the class_name.

Wrap all name ops and attrnames in calls to self.mangle()
</content>
</entry>
<entry>
<title>emit SET_LINENO for augmented assignments</title>
<updated>2001-08-27T21:58:09Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-27T21:58:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=80ea40d8585a0e8d67dcf1f1900e8dfe27510927'/>
<id>urn:sha1:80ea40d8585a0e8d67dcf1f1900e8dfe27510927</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Many changes -- bug fixes and sundry improvements</title>
<updated>2001-08-27T21:51:52Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-27T21:51:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2afff324ea3e987bb83503932ffc405a9940a37e'/>
<id>urn:sha1:2afff324ea3e987bb83503932ffc405a9940a37e</id>
<content type='text'>
Make nested scopes enabled by default

Add is_constant_false() helper so that compiled code and symbols are
consistent with builtin compiler's handling of "if 0:"

Fix doc string handling to be consistent with recent change that
eliminates the doc string from the Module's node attribute.

Add fix to print handling from Evan &amp; Shane.

Track change to visitor api by making "verbose" explicit.

Comment out setting CO_NESTED flag (it's unnecessary in 2.2).
</content>
</entry>
</feed>
