<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/compiler, branch v2.1.2</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?h=v2.1.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/compiler?h=v2.1.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-06-27T14:03:30Z</updated>
<entry>
<title>Backport Tim's checkin 1.20:</title>
<updated>2001-06-27T14:03:30Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2001-06-27T14:03:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=48a433cfda8a3bb293b2d3a1dfea3492f2b75eb7'/>
<id>urn:sha1:48a433cfda8a3bb293b2d3a1dfea3492f2b75eb7</id>
<content type='text'>
SF bug 430991: wrong co_lnotab
Armin Rigo pointed out that the way the line-# table got built didn't work
for lines generating more than 255 bytes of bytecode.  Fixed as he
suggested, plus corresponding changes to pyassem.py, plus added some long
overdue docs about this subtle table to compile.c.
</content>
</entry>
<entry>
<title>Pop loop off the loop stack before handling the loop's else clause.</title>
<updated>2001-04-12T21:54:41Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-12T21:54:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bb0bae6da2c322971041d7943d1096d0590a9d3f'/>
<id>urn:sha1:bb0bae6da2c322971041d7943d1096d0590a9d3f</id>
<content type='text'>
Otherwise, continue/break will attempt to affect the wrong loop.

A few more fiddles to get the SET_LINENOs consistent across compilers.
</content>
</entry>
<entry>
<title>Use new _implicitNameOp() to generate name op code for list comprehensions.</title>
<updated>2001-04-12T21:04:43Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-12T21:04:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=13d70944cba10f6f9b39aa94cb9c5df442523dda'/>
<id>urn:sha1:13d70944cba10f6f9b39aa94cb9c5df442523dda</id>
<content type='text'>
Always emit a SET_LINENO 0 at the beginning of the module.  The
builtin compiler does this, and it's much easier to compare bytecode
generated by the two compilers if they both do.

Move the SET_LINENO inside the FOR_LOOP block for list
comprehensions.  Also for compat. with builtin compiler.
</content>
</entry>
<entry>
<title>Add support for visitAssAttr to findOp().</title>
<updated>2001-04-12T20:24:26Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-12T20:24:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=614e87f2866173475bc01ffddcd8b9fbcc690b36'/>
<id>urn:sha1:614e87f2866173475bc01ffddcd8b9fbcc690b36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pyassem.py:</title>
<updated>2001-04-12T20:21:39Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-12T20:21:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=542b11acfd5309438ed2769be1fc476b9597f1fb'/>
<id>urn:sha1:542b11acfd5309438ed2769be1fc476b9597f1fb</id>
<content type='text'>
    Fix annoying bugs in flow graph layout code.  In some cases the
    implicit control transfers weren't honored.  In other cases,
    JUMP_FORWARD instructions jumped backwards.

    Remove unused arg from nextBlock().

pycodegen.py

    Add optional force kwarg to set_lineno() that will emit a
    SET_LINENO even if it is the same as the previous lineno.

    Use explicit LOAD_FAST and STORE_FAST to access list comp implicit
    variables.  (The symbol table doesn't know about them.)
</content>
</entry>
<entry>
<title>Revise handling of tuple arguments so that the variables names match</title>
<updated>2001-04-12T17:33:34Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-12T17:33:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bfb0cf822bedb25c38fa7f411af83d6654872dd4'/>
<id>urn:sha1:bfb0cf822bedb25c38fa7f411af83d6654872dd4</id>
<content type='text'>
those used by compile.c.  (test_grammar now depends on the names)
</content>
</entry>
<entry>
<title>Only treat an AugAssign as def if its the target is a Name.</title>
<updated>2001-04-12T07:06:25Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-12T07:06:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c9aad6043724148f2159191cf14d751c6ec44d2'/>
<id>urn:sha1:5c9aad6043724148f2159191cf14d751c6ec44d2</id>
<content type='text'>
Fixes last bug found with test_scope.py.
</content>
</entry>
<entry>
<title>Fix unpackSequence() to use _nameOp() rather than LOAD_FAST</title>
<updated>2001-04-12T06:52:27Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-12T06:52:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3f76b7e6e465a7109f78d499996246d8de26f6a8'/>
<id>urn:sha1:3f76b7e6e465a7109f78d499996246d8de26f6a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Inside a class scope always use LOAD_NAME, STORE_NAME, DEL_NAME</title>
<updated>2001-04-12T06:49:00Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-12T06:49:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=660cc77abb561233c30f375310cec67211e4bacb'/>
<id>urn:sha1:660cc77abb561233c30f375310cec67211e4bacb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Preliminary support for nested scopes</title>
<updated>2001-04-12T06:40:42Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-12T06:40:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=364f9b9e2f798e4d28ed21122faffb030a6ccac5'/>
<id>urn:sha1:364f9b9e2f798e4d28ed21122faffb030a6ccac5</id>
<content type='text'>
XXX Still doesn't work right for classes
XXX Still doesn't do sufficient error checking
</content>
</entry>
</feed>
