<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/graminit.c, 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/Python/graminit.c?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/graminit.c?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-05-25T11:26:25Z</updated>
<entry>
<title>Update graminit.c for the fix for #1488915, Multiple dots in relative import</title>
<updated>2006-05-25T11:26:25Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-05-25T11:26:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=143bdfcee6c3b3a4b688a7c9fca28a14d775c4e2'/>
<id>urn:sha1:143bdfcee6c3b3a4b688a7c9fca28a14d775c4e2</id>
<content type='text'>
statement raise SyntaxError, and add testcase.
</content>
</entry>
<entry>
<title>Part two of the fix for SF bug #1466641: Regenerate graminit.c and add test</title>
<updated>2006-04-12T00:07:59Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-04-12T00:07:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ced6cddc031b099e995f4cbf8e9162f3951be826'/>
<id>urn:sha1:ced6cddc031b099e995f4cbf8e9162f3951be826</id>
<content type='text'>
for the bogus failure.
</content>
</entry>
<entry>
<title>Make 'as' an actual keyword when with's future statement is used. Not</title>
<updated>2006-02-28T22:42:15Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-02-28T22:42:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8ae1295c5b6cfef0fc6db5c97fe68a0b40de8331'/>
<id>urn:sha1:8ae1295c5b6cfef0fc6db5c97fe68a0b40de8331</id>
<content type='text'>
actually necessary for functionality, but good for transition.
</content>
</entry>
<entry>
<title>SF patch #1438387, PEP 328: relative and absolute imports.</title>
<updated>2006-02-28T16:09:29Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-02-28T16:09:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f7f438ba3b05eb4356e7511401686b07d9dfb6d8'/>
<id>urn:sha1:f7f438ba3b05eb4356e7511401686b07d9dfb6d8</id>
<content type='text'>
 - IMPORT_NAME takes an extra argument from the stack: the relativeness of
   the import. Only passed to __import__ when it's not -1.

 - __import__() takes an optional 5th argument for the same thing; it
   __defaults to -1 (old semantics: try relative, then absolute)

 - 'from . import name' imports name (be it module or regular attribute)
   from the current module's *package*. Likewise, 'from .module import name'
   will import name from a sibling to the current module.

 - Importing from outside a package is not allowed; 'from . import sys' in a
   toplevel module will not work, nor will 'from .. import sys' in a
   (single-level) package.

 - 'from __future__ import absolute_import' will turn on the new semantics
   for import and from-import: imports will be absolute, except for
   from-import with dots.

Includes tests for regular imports and importhooks, parser changes and a
NEWS item, but no compiler-package changes or documentation changes.
</content>
</entry>
<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>Oops, I forgot to check this in with the change to Grammar/Grammar.</title>
<updated>2006-02-26T22:29:38Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-02-26T22:29:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=59090a73345095fd86b7ccebc54c1382e00abc88'/>
<id>urn:sha1:59090a73345095fd86b7ccebc54c1382e00abc88</id>
<content type='text'>
Implement change suggested by Jiwon Seo on python-dev.
['(' gen_for ')'] is redundant with test, so remove it.
</content>
</entry>
<entry>
<title>Wrap long lines in the grammar</title>
<updated>2005-12-18T04:12:30Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2005-12-18T04:12:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3c52c5a888a5a49fac712336f117ed91aa37b4b8'/>
<id>urn:sha1:3c52c5a888a5a49fac712336f117ed91aa37b4b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #1355913, PEP 341 - Unification of try/except and try/finally</title>
<updated>2005-12-17T21:33:47Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2005-12-17T21:33:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f599f424a2c8cfc490111a11203c93d23706379f'/>
<id>urn:sha1:f599f424a2c8cfc490111a11203c93d23706379f</id>
<content type='text'>
Modified since ast-arenas was implemented.
</content>
</entry>
<entry>
<title>Fix SF bug #1167751, Argument genexp corner case</title>
<updated>2005-10-21T06:24:02Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2005-10-21T06:24:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=37c0844b35b9a4d68f7ddf3a8b38d3e013f17d78'/>
<id>urn:sha1:37c0844b35b9a4d68f7ddf3a8b38d3e013f17d78</id>
<content type='text'>
Incorrect code was generated for:

  foo(a = i for i in range(10))

This should have generated a SyntaxError.  Fix the Grammar so
it raises a SyntaxError and test it.

I'm uncertain whether this should be backported.  It makes
something that was Syntactically valid invalid.  However,
the code would either be completely broken or do the wrong thing.
</content>
</entry>
</feed>
