<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Grammar, branch 2.3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Grammar?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Grammar?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-08-04T17:29:52Z</updated>
<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>John Aycock correctly pointed out that the grammar for</title>
<updated>2002-05-23T20:05:40Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-05-23T20:05:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=84ee323cb9fd8a43cb5b6d8fa948fc3d16ded121'/>
<id>urn:sha1:84ee323cb9fd8a43cb5b6d8fa948fc3d16ded121</id>
<content type='text'>
"power" was formally ambiguous.  Here's his fix.
</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>Implement PEP 238 in its (almost) full glory.</title>
<updated>2001-08-08T05:00:18Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-08T05:00:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4668b000a1d9113394941ad39875c827634feb49'/>
<id>urn:sha1:4668b000a1d9113394941ad39875c827634feb49</id>
<content type='text'>
This introduces:

- A new operator // that means floor division (the kind of division
  where 1/2 is 0).

- The "future division" statement ("from __future__ import division)
  which changes the meaning of the / operator to implement "true
  division" (where 1/2 is 0.5).

- New overloadable operators __truediv__ and __floordiv__.

- New slots in the PyNumberMethods struct for true and floor division,
  new abstract APIs for them, new opcodes, and so on.

I emphasize that without the future division statement, the semantics
of / will remain unchanged until Python 3.0.

Not yet implemented are warnings (default off) when / is used with int
or long arguments.

This has been on display since 7/31 as SF patch #443474.

Flames to /dev/null.
</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>
<entry>
<title>remove commented-out vestiges of access statement</title>
<updated>2001-02-27T18:36:14Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-27T18:36:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bb40dc48928269d3f60e60e0642b56ecfca2913c'/>
<id>urn:sha1:bb40dc48928269d3f60e60e0642b56ecfca2913c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Superseded by $(srcdir)/Makefile.pre.in.</title>
<updated>2001-02-03T17:18:21Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2001-02-03T17:18:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=693291ba23d6406af58dd46066748a8d713fd1ba'/>
<id>urn:sha1:693291ba23d6406af58dd46066748a8d713fd1ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo:  config.stat --&gt; config.status</title>
<updated>2000-09-28T20:53:39Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-09-28T20:53:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0cdfc92a1960384bd6a2f08c66b522ffd03230d7'/>
<id>urn:sha1:0cdfc92a1960384bd6a2f08c66b522ffd03230d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support for three-token characters (**=, &gt;&gt;=, &lt;&lt;=) which was written by</title>
<updated>2000-08-24T20:11:32Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2000-08-24T20:11:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=434d0828d81855692d45c3fdc0905a67c17d83ba'/>
<id>urn:sha1:434d0828d81855692d45c3fdc0905a67c17d83ba</id>
<content type='text'>
Michael Hudson, and support in general for the augmented assignment syntax.
The graminit.c patch is large!
</content>
</entry>
</feed>
