<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/compiler/pycodegen.py, branch v2.3.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/pycodegen.py?h=v2.3.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/compiler/pycodegen.py?h=v2.3.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-06-27T12:32:39Z</updated>
<entry>
<title>Jacob Hallen cornered me here at EuroPython and got me to look at</title>
<updated>2003-06-27T12:32:39Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2003-06-27T12:32:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=896e5164bb8562d0e5daeccd5f9f5f1d03aedeba'/>
<id>urn:sha1:896e5164bb8562d0e5daeccd5f9f5f1d03aedeba</id>
<content type='text'>
patch:

[ 750008 ] 'compiler' module bug with 'import foo.bar as baz'

which I'm now checking in.

after import foo.bar as baz, baz would refer to foo.
</content>
</entry>
<entry>
<title>Replace all but one explicit emit('SET_LINENO') with call to set_lineno().</title>
<updated>2002-12-31T18:26:17Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-12-31T18:26:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=18565411429053a68ee318fc9e59370e8bd7b7b8'/>
<id>urn:sha1:18565411429053a68ee318fc9e59370e8bd7b7b8</id>
<content type='text'>
Remove broken code in visitDict().  I assume the code was trying to
add set lineno events for each line of a dict constructor, but I think
it was using the wrong object (node instead of k or v).
</content>
</entry>
<entry>
<title>SF patch [ 597919 ] compiler package and SET_LINENO</title>
<updated>2002-12-31T18:17:44Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-12-31T18:17:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=accb62b28e1d592733b2f678d5737ca3e8c64fc2'/>
<id>urn:sha1:accb62b28e1d592733b2f678d5737ca3e8c64fc2</id>
<content type='text'>
A variety of changes from Michael Hudson to get the compiler working
with 2.3.  The primary change is the handling of SET_LINENO:

# The set_lineno() function and the explicit emit() calls for
# SET_LINENO below are only used to generate the line number table.
# As of Python 2.3, the interpreter does not have a SET_LINENO
# instruction.  pyassem treats SET_LINENO opcodes as a special case.

A few other small changes:
 - Remove unused code from pycodegen and pyassem.
 - Fix error handling in parsermodule.  When PyParser_SimplerParseString()
   fails, it sets an exception with detailed info.  The parsermodule
   was clobbering that exception and replacing it was a generic
   "could not parse string" exception.  Keep the original exception.
</content>
</entry>
<entry>
<title>Fixing bug</title>
<updated>2002-12-16T13:54:02Z</updated>
<author>
<name>Gustavo Niemeyer</name>
<email>gustavo@niemeyer.net</email>
</author>
<published>2002-12-16T13:54:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=78429a6aa6bb4f8527f0c6be678555ef26b62d19'/>
<id>urn:sha1:78429a6aa6bb4f8527f0c6be678555ef26b62d19</id>
<content type='text'>
[#448679] Left to right

* Python/compile.c
  (com_dictmaker): Reordered evaluation of dictionaries to follow strict
  LTR evaluation.

* Lib/compiler/pycodegen.py
  (CodeGenerator.visitDict): Reordered evaluation of dictionaries to
  follow strict LTR evaluation.

* Doc/ref/ref5.tex
  Documented the general LTR evaluation order idea.

* Misc/NEWS
  Documented change in evaluation order of dictionaries.
</content>
</entry>
<entry>
<title>Remove uses of string module and stat.ST_MODE</title>
<updated>2002-06-06T18:30:10Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-06-06T18:30:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a312c3ade77a5852c00fd4216626d0423272904a'/>
<id>urn:sha1:a312c3ade77a5852c00fd4216626d0423272904a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2002-02-16T07:34:19Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-02-16T07:34:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e4418609f79b94b91bda2621b5e6f067fb6a31d5'/>
<id>urn:sha1:e4418609f79b94b91bda2621b5e6f067fb6a31d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge of the release22 branch changes back into the trunk.</title>
<updated>2001-12-21T20:04:22Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2001-12-21T20:04:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=52acb49298fd0aee8a2a2a352f0b2ab039649bde'/>
<id>urn:sha1:52acb49298fd0aee8a2a2a352f0b2ab039649bde</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix [ #484645 ] little bug in pycodegen.py</title>
<updated>2001-11-27T23:35:10Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-11-27T23:35:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=57911ae35a76276997fb51afb78f0a8dfeb684b8'/>
<id>urn:sha1:57911ae35a76276997fb51afb78f0a8dfeb684b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix SF bug #479186: compiler generates bad code for "del"</title>
<updated>2001-11-09T16:24:34Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-11-09T16:24:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6383c2d1a677f168ed2a4dfc9cb28f93ec327a0e'/>
<id>urn:sha1:6383c2d1a677f168ed2a4dfc9cb28f93ec327a0e</id>
<content type='text'>
Fix by Neil Schemenauer.  Visit the Subscript node when trying to find
the operation for a statement.

XXX Not sure if there are other nodes that should be visited.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-10-18T21:57:37Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-10-18T21:57:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e0c446bb4ad67294f42d4cb53b4ff28413bd8dde'/>
<id>urn:sha1:e0c446bb4ad67294f42d4cb53b4ff28413bd8dde</id>
<content type='text'>
</content>
</entry>
</feed>
