<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/compiler/misc.py, branch v2.1.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/compiler/misc.py?h=v2.1.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/compiler/misc.py?h=v2.1.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2000-11-06T03:43:11Z</updated>
<entry>
<title>Change the graph structure to contain the code generator object for</title>
<updated>2000-11-06T03:43:11Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-11-06T03:43:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=314e3fb215c4e96a8c5523061623d8439ab4c2dc'/>
<id>urn:sha1:314e3fb215c4e96a8c5523061623d8439ab4c2dc</id>
<content type='text'>
embedded code objects (e.g. functions) rather than the generated code
object.  This change means that the compiler generates code for
everything at the end, rather then generating code for each function
as it finds it.  Implementation note: _convert_LOAD_CONST in
pyassem.py must be change to call getCode().

Other changes follow.  Several changes creates extra edges between
basic blocks to reflect control flow for loops and exceptions.  These
missing edges had gone unnoticed because they do not affect the
current compilation process.

pyassem.py:
    Add _enable_debug() and _disable_debug() methods that print
    instructions and blocks to stdout as they are generated.

    Add edges between blocks for instructions like SETUP_LOOP,
    FOR_LOOP, etc.

    Add pruneNext to get rid of bogus edges remaining after
    unconditional transfer ops (e.g. JUMP_FORWARD)

    Change repr of Block to omit block length.

pycodegen.py:
    Make sure a new block is started after FOR_LOOP, etc.

    Change assert implementation to use RAISE_VARARGS 1 when there is
    no user-specified failure output.

misc.py:
    Implement __contains__ and copy for Set.
</content>
</entry>
<entry>
<title>change name of Set method: items -&gt; elements (avoids confusion with</title>
<updated>2000-03-16T20:02:38Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-03-16T20:02:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e4d6293383f2f9df6740f855320681e88fe18573'/>
<id>urn:sha1:e4d6293383f2f9df6740f855320681e88fe18573</id>
<content type='text'>
dict)
</content>
</entry>
<entry>
<title>satisfy the tabnanny (thanks to MH for noticing the problem)</title>
<updated>2000-02-21T22:46:00Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-02-21T22:46:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=772dd417f7900ac6550e98db2f815cffa4c1e11a'/>
<id>urn:sha1:772dd417f7900ac6550e98db2f815cffa4c1e11a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add flatten helper function</title>
<updated>2000-02-16T00:49:47Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-02-16T00:49:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=65d4ea05d2b68df68305db82d4121246cfeb461e'/>
<id>urn:sha1:65d4ea05d2b68df68305db82d4121246cfeb461e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add an __len__ to Set and Stack</title>
<updated>2000-02-10T20:54:27Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-02-10T20:54:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=95b8614353eee05f350c794a0aa37cab39794eed'/>
<id>urn:sha1:95b8614353eee05f350c794a0aa37cab39794eed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add remove method to set</title>
<updated>2000-02-10T00:43:22Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-02-10T00:43:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=69926eaee050674b12c55ca6f476f1d1dc5b7db3'/>
<id>urn:sha1:69926eaee050674b12c55ca6f476f1d1dc5b7db3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>checking in initial weekend's work</title>
<updated>2000-02-04T00:28:21Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-02-04T00:28:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8b6323d3ef78042118c08703f26cb2adf741ea2e'/>
<id>urn:sha1:8b6323d3ef78042118c08703f26cb2adf741ea2e</id>
<content type='text'>
compile.py: ASTVisitor framework plus bits of a code generator that
    should be bug-for-buf compatible with compile.c

misc.py: Set and Stack helpers

test.py: a bit of simple sample code that compile.py will work on
</content>
</entry>
</feed>
