<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/graminit.h, branch v2.5c2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/graminit.h?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/graminit.h?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-02-27T22:32:47Z</updated>
<entry>
<title>PEP 343 -- the with-statement.</title>
<updated>2006-02-27T22:32:47Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2006-02-27T22:32:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c2e20744b2b7811632030470971c31630f0975e2'/>
<id>urn:sha1:c2e20744b2b7811632030470971c31630f0975e2</id>
<content type='text'>
This was started by Mike Bland and completed by Guido
(with help from Neal).

This still needs a __future__ statement added;
Thomas is working on Michael's patch for that aspect.

There's a small amount of code cleanup and refactoring
in ast.c, compile.c and ceval.c (I fixed the lltrace
behavior when EXT_POP is used -- however I had to make
lltrace a static global).
</content>
</entry>
<entry>
<title>PEP 308 implementation, including minor refdocs and some testcases. It</title>
<updated>2006-02-27T00:24:13Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-02-27T00:24:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dca3b9c797f6dd4b08d590fa2aa1031e22ab598e'/>
<id>urn:sha1:dca3b9c797f6dd4b08d590fa2aa1031e22ab598e</id>
<content type='text'>
breaks the parser module, because it adds the if/else construct as well as
two new grammar rules for backward compatibility. If no one else fixes
parsermodule, I guess I'll go ahead and fix it later this week.

The TeX code was checked with texcheck.py, but not rendered. There is
actually a slight incompatibility:

&gt;&gt;&gt; (x for x in lambda:0)
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
TypeError: iteration over non-sequence

changes into

&gt;&gt;&gt; (x for x in lambda: 0)
  File "&lt;stdin&gt;", line 1
    (x for x in lambda: 0)
                     ^
SyntaxError: invalid syntax

Since there's no way the former version can be useful, it's probably a
bugfix ;)
</content>
</entry>
<entry>
<title>PEP 342 implementation.  Per Guido's comments, the generator throw()</title>
<updated>2005-08-02T00:46:46Z</updated>
<author>
<name>Phillip J. Eby</name>
<email>pje@telecommunity.com</email>
</author>
<published>2005-08-02T00:46:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d6615fd29063bdaccb13e1fbae542fb666d8728'/>
<id>urn:sha1:0d6615fd29063bdaccb13e1fbae542fb666d8728</id>
<content type='text'>
method still needs to support string exceptions, and allow None for the
third argument.  Documentation updates are needed, too.
</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>PEP-0318, @decorator-style. In Guido's words:</title>
<updated>2004-08-02T06:10:11Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2004-08-02T06:10:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c2a5a636545a88f349dbe3e452ffb4494b68e534'/>
<id>urn:sha1:c2a5a636545a88f349dbe3e452ffb4494b68e534</id>
<content type='text'>
"@ seems the syntax that everybody can hate equally"
Implementation by Mark Russell, from SF #979728.
</content>
</entry>
<entry>
<title>SF patch #872326:  Generator expression implementation</title>
<updated>2004-05-19T08:20:33Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-05-19T08:20:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=354433a59dd1701985ec8463ced25a967cade3c1'/>
<id>urn:sha1:354433a59dd1701985ec8463ced25a967cade3c1</id>
<content type='text'>
(Code contributed by Jiwon Seo.)

The documentation portion of the patch is being re-worked and will be
checked-in soon.  Likewise, PEP 289 will be updated to reflect Guido's
rationale for the design decisions on binding behavior (as described in
in his patch comments and in discussions on python-dev).

The test file, test_genexps.py, is written in doctest format and is
meant to exercise all aspects of the the patch.  Further additions are
welcome from everyone.  Please stress test this new feature as much as
possible before the alpha release.
</content>
</entry>
<entry>
<title>Patch #534304: Implement phase 1 of PEP 263.</title>
<updated>2002-08-04T17:29:52Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-08-04T17:29:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=00f1e3f5a54adb0a7159a446edeca2e36da4092e'/>
<id>urn:sha1:00f1e3f5a54adb0a7159a446edeca2e36da4092e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disambiguate the grammar for backtick.</title>
<updated>2002-05-24T15:47:06Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-05-24T15:47:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2d3b986480f5a01329cc66b2bdf50fdb94e1c1e4'/>
<id>urn:sha1:2d3b986480f5a01329cc66b2bdf50fdb94e1c1e4</id>
<content type='text'>
The old syntax suggested that a trailing comma was OK inside backticks,
but in fact (due to ideosyncrasies of pgen) it was not.  Fix the grammar
to avoid the ambiguity.  Fred: you may want to update the refman.
</content>
</entry>
<entry>
<title>Very subtle syntax change: in a list comprehension, the testlist in</title>
<updated>2001-10-15T15:44:05Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-15T15:44:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1c917072ca2895a196de7f397d4e96bcc577e13d'/>
<id>urn:sha1:1c917072ca2895a196de7f397d4e96bcc577e13d</id>
<content type='text'>
"for &lt;var&gt; in &lt;testlist&gt; may no longer be a single test followed by
a comma.  This solves SF bug #431886.  Note that if the testlist
contains more than one test, a trailing comma is still allowed, for
maximum backward compatibility; but this example is not:

    [(x, y) for x in range(10), for y in range(10)]
                              ^

The fix involved creating a new nonterminal 'testlist_safe' whose
definition doesn't allow the trailing comma if there's only one test:

    testlist_safe: test [(',' test)+ [',']]
</content>
</entry>
<entry>
<title>Merging the gen-branch into the main line, at Guido's direction.  Yay!</title>
<updated>2001-06-18T22:08:13Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-18T22:08:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5ca576ed0a0c697c7e7547adfd0b3af010fd2053'/>
<id>urn:sha1:5ca576ed0a0c697c7e7547adfd0b3af010fd2053</id>
<content type='text'>
Bugfix candidate in inspect.py:  it was referencing "self" outside of
a method.
</content>
</entry>
</feed>
