<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/compiler, branch v2.3.6</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/compiler?h=v2.3.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/compiler?h=v2.3.6'/>
<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>SF patch #701494:  more apply removals</title>
<updated>2003-04-06T09:01:11Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-04-06T09:01:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff41c48a77b7d1411ce97190c8b8405bdaa261e1'/>
<id>urn:sha1:ff41c48a77b7d1411ce97190c8b8405bdaa261e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2003-03-07T17:30:48Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-03-07T17:30:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=669454e9dc4f8472b9239b4abdec1b7e111bb864'/>
<id>urn:sha1:669454e9dc4f8472b9239b4abdec1b7e111bb864</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove debugging prints.</title>
<updated>2003-01-03T10:25:20Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2003-01-03T10:25:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8d0ffe0126f301338625fe7402d3c4c4b617a449'/>
<id>urn:sha1:8d0ffe0126f301338625fe7402d3c4c4b617a449</id>
<content type='text'>
</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>Fix com_arglist() and update grammar fragment.</title>
<updated>2002-04-19T22:56:37Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-04-19T22:56:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8d22b0409b3d68edee104bc472334145337bebc7'/>
<id>urn:sha1:8d22b0409b3d68edee104bc472334145337bebc7</id>
<content type='text'>
SF bug #522264 reported by Evelyn Mitchell.

The code included a comment about "STAR STAR" which was translated
into the code as the bogus attribute token.STARSTAR.  This name never
caused an attribute error because it was never retrieved.  The code
was based on an old version of the grammar that specified kwargs as
two tokens ('*' '*').  I checked as far back as 2.1 and didn't find
this production.

The fix is simple, because token.DOUBLESTAR is the only token
allowed.  Also update the grammar fragment in com_arglist().

XXX I'll bet lots of other grammar fragments in comments are out of
date, probably in this module and in compile.c.
</content>
</entry>
<entry>
<title>Remove more out-of-date comments and clarify explanation of visit().</title>
<updated>2002-04-18T16:26:40Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-04-18T16:26:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=16af557ae9c660cbd728546dcb28ec95b0030991'/>
<id>urn:sha1:16af557ae9c660cbd728546dcb28ec95b0030991</id>
<content type='text'>
</content>
</entry>
</feed>
