<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/compiler, branch v2.4.4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/compiler?h=v2.4.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/compiler?h=v2.4.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2005-07-02T18:38:12Z</updated>
<entry>
<title>backport patch [ 1231538 ] Typo fix in compiler/transformer.py (WalkerEror)</title>
<updated>2005-07-02T18:38:12Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-07-02T18:38:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0e077073b7ba4fb11a4def0f5e18e6fd63d95e88'/>
<id>urn:sha1:0e077073b7ba4fb11a4def0f5e18e6fd63d95e88</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bug</title>
<updated>2004-11-08T12:17:34Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2004-11-08T12:17:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=05522ad795fe83dd1ffee4923c36d2ee8890708c'/>
<id>urn:sha1:05522ad795fe83dd1ffee4923c36d2ee8890708c</id>
<content type='text'>
[ 1057835 ] compiler.transformer, "from module import *"
</content>
</entry>
<entry>
<title>This is jiwon's patch to fix:</title>
<updated>2004-10-11T15:35:53Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2004-10-11T15:35:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c054a8b1a99c15146c9f2092172d04e5c832ffff'/>
<id>urn:sha1:c054a8b1a99c15146c9f2092172d04e5c832ffff</id>
<content type='text'>
[ 1042238 ] Lib/compiler chokes on certain genexps
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2004-09-12T03:49:31Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-09-12T03:49:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0e9980f75a203ee1b2ac28f76a76239446b271d6'/>
<id>urn:sha1:0e9980f75a203ee1b2ac28f76a76239446b271d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove debugging print (not triggered by test suite) and add XXX comment about how the code should raise a SyntaxError.</title>
<updated>2004-09-07T15:36:48Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2004-09-07T15:36:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8f00a24229f372c9edc00eb5b17935334e891199'/>
<id>urn:sha1:8f00a24229f372c9edc00eb5b17935334e891199</id>
<content type='text'>
</content>
</entry>
<entry>
<title>compiler.transformer: correct lineno attribute when possible</title>
<updated>2004-09-07T15:28:01Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2004-09-07T15:28:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=566d934745378df72fbbf7d3f834e7d08f7e42d1'/>
<id>urn:sha1:566d934745378df72fbbf7d3f834e7d08f7e42d1</id>
<content type='text'>
SF patch #1015989

The basic idea of this patch is to compute lineno attributes for all AST nodes.  The actual
implementation lead to a lot of restructing and code cleanup.

The generated AST nodes now have an optional lineno argument to constructor.  Remove the
top-level asList(), since it didn't seem to serve any purpose.  Add an __iter__ to ast nodes.
Use isinstance() instead of explicit type tests.

Change transformer to use the new lineno attribute, which replaces three lines of code with one.
Use universal newlines so that we can get rid of special-case code for line endings.  Use
lookup_node() in a few more frequently called, but simple com_xxx methods().  Change string
exception to class exception.
</content>
</entry>
<entry>
<title>SF patch #1007189, multi-line imports, for instance:</title>
<updated>2004-08-31T10:07:13Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2004-08-31T10:07:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1a4ddaecc732c207fa69890db87ac4b47da867b8'/>
<id>urn:sha1:1a4ddaecc732c207fa69890db87ac4b47da867b8</id>
<content type='text'>
"from blah import (foo, bar
baz, bongo)"
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2004-08-20T03:47:14Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-08-20T03:47:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a45cacfc1c4fb2b7b1b5c74e1f6b56d6ca2c9e4c'/>
<id>urn:sha1:a45cacfc1c4fb2b7b1b5c74e1f6b56d6ca2c9e4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>This is Mark Russell's patch:</title>
<updated>2004-08-17T17:29:16Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2004-08-17T17:29:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0ccff074cd806bc7e963a1e0ff6ce25e0d11cce9'/>
<id>urn:sha1:0ccff074cd806bc7e963a1e0ff6ce25e0d11cce9</id>
<content type='text'>
[ 1009560 ] Fix @decorator evaluation order

From the description:

Changes in this patch:

- Change Grammar/Grammar to require
newlines between adjacent decorators.

- Fix order of evaluation of decorators
in the C (compile.c) and python
(Lib/compiler/pycodegen.py) compilers

- Add better order of evaluation check
to test_decorators.py (test_eval_order)

- Update the decorator documentation in
the reference manual (improve description
of evaluation order and update syntax
description)

and the comment:

Used Brett's evaluation order (see
http://mail.python.org/pipermail/python-dev/2004-August/047835.html)

(I'm checking this in for Anthony who was having problems getting SF to
talk to him)
</content>
</entry>
<entry>
<title>SF patch 836879.</title>
<updated>2004-08-07T19:21:56Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2004-08-07T19:21:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2876f5ad212d56819cb2d87c73bd6f4dfaa985bc'/>
<id>urn:sha1:2876f5ad212d56819cb2d87c73bd6f4dfaa985bc</id>
<content type='text'>
Don't generate code for asserts in -O mode.
</content>
</entry>
</feed>
