<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Grammar, branch v2.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/Grammar?h=v2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Grammar?h=v2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-10-15T15:44:05Z</updated>
<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>
<entry>
<title>Added note stating that the parser module will need updating for most</title>
<updated>2000-08-23T15:45:28Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-08-23T15:45:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=abca14d8e27bd2ed831dd92ad57998034a2c1efd'/>
<id>urn:sha1:abca14d8e27bd2ed831dd92ad57998034a2c1efd</id>
<content type='text'>
changes to this file.
</content>
</entry>
<entry>
<title>require list comprehensions to start with a for clause</title>
<updated>2000-08-22T02:43:07Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2000-08-22T02:43:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=46dfa5f4ed16c64edc845fffd4a5e2517415a2d6'/>
<id>urn:sha1:46dfa5f4ed16c64edc845fffd4a5e2517415a2d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PEP 214, Extended print Statement, has been accepted by the BDFL.</title>
<updated>2000-08-21T15:34:33Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2000-08-21T15:34:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0360663e8e8b0e7b18ce8d390995fcbad140f7e0'/>
<id>urn:sha1:0360663e8e8b0e7b18ce8d390995fcbad140f7e0</id>
<content type='text'>
This change modifies Python's grammar to include the extended print
form.
</content>
</entry>
</feed>
