<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/graminit.c, branch 2.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/Python/graminit.c?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/graminit.c?h=2.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>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>
<entry>
<title>list comprehensions.  see</title>
<updated>2000-08-12T18:09:51Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2000-08-12T18:09:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=803d6e5451cbf0416bfb252eedba36ff2e354fac'/>
<id>urn:sha1:803d6e5451cbf0416bfb252eedba36ff2e354fac</id>
<content type='text'>
    http://sourceforge.net/patch/?func=detailpatch&amp;patch_id=100654&amp;group_id=5470

for details.
</content>
</entry>
<entry>
<title>slightly modified version of Greg Ewing's extended call syntax patch</title>
<updated>2000-03-28T23:49:17Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-03-28T23:49:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7690151c7e95f38b91a9c572ce29b4d8a4ca671d'/>
<id>urn:sha1:7690151c7e95f38b91a9c572ce29b4d8a4ca671d</id>
<content type='text'>
executive summary:
Instead of typing 'apply(f, args, kwargs)' you can type 'f(*arg, **kwargs)'.
Some file-by-file details follow.

Grammar/Grammar:
    simplify varargslist, replacing '*' '*' with '**'
    add * &amp; ** options to arglist

Include/opcode.h &amp; Lib/dis.py:
    define three new opcodes
        CALL_FUNCTION_VAR
        CALL_FUNCTION_KW
        CALL_FUNCTION_VAR_KW

Python/ceval.c:
    extend TypeError "keyword parameter redefined" message to include
        the name of the offending keyword
    reindent CALL_FUNCTION using four spaces
    add handling of sequences and dictionaries using extend calls
    fix function import_from to use PyErr_Format
</content>
</entry>
<entry>
<title>Make first raise argument optional</title>
<updated>1998-04-09T21:39:57Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-04-09T21:39:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d295f120ae6bd624eaac9032b70fad0aec110597'/>
<id>urn:sha1:d295f120ae6bd624eaac9032b70fad0aec110597</id>
<content type='text'>
</content>
</entry>
</feed>
