<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/graminit.c, 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/Python/graminit.c?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/graminit.c?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>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>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:44:01Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2000-08-21T15:44:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=23c9ec87cf8b1b2da203bf06c230d85698db9206'/>
<id>urn:sha1:23c9ec87cf8b1b2da203bf06c230d85698db9206</id>
<content type='text'>
eval_code2(): Implement new bytecodes PRINT_ITEM_TO and
PRINT_NEWLINE_TO, as per accepted SF patch #100970.

Also update graminit.c based on related Grammar/Grammar changes.
</content>
</entry>
<entry>
<title>Apply SF patch #101135, adding 'import module as m' and 'from module import</title>
<updated>2000-08-17T22:55:00Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2000-08-17T22:55:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5215225ea1e3200b572775639d567f5e3f489a15'/>
<id>urn:sha1:5215225ea1e3200b572775639d567f5e3f489a15</id>
<content type='text'>
name as n'. By doing some twists and turns, "as" is not a reserved word.

There is a slight change in semantics for 'from module import name' (it will
now honour the 'global' keyword) but only in cases that are explicitly
undocumented.
</content>
</entry>
</feed>
