<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/future.c, branch v2.1c2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/future.c?h=v2.1c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/future.c?h=v2.1c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-03-10T02:15:37Z</updated>
<entry>
<title>When iterating over the names imported in a future statement, ignore the</title>
<updated>2001-03-10T02:15:37Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-03-10T02:15:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=198457a9789cbb176d7d0b3c8b38254b33836deb'/>
<id>urn:sha1:198457a9789cbb176d7d0b3c8b38254b33836deb</id>
<content type='text'>
commas in the concrete syntax; checking those causes a segfault.

This fixes SF bug #407394.
</content>
</entry>
<entry>
<title>Improve SyntaxErrors for bad future statements.  Set file and location</title>
<updated>2001-02-28T17:47:12Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-28T17:47:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ad3d3f2f3f19833f59fd7e9ec59e1714e0986e08'/>
<id>urn:sha1:ad3d3f2f3f19833f59fd7e9ec59e1714e0986e08</id>
<content type='text'>
for errors raised in future.c.

Move some helper functions from compile.c to errors.c and make them
API functions: PyErr_SyntaxLocation() and PyErr_ProgramText().
</content>
</entry>
<entry>
<title>Need to support single_input explicitly so from __future__ imports</title>
<updated>2001-02-28T02:26:14Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-28T02:26:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=280c81a9402dfa39159c3c01dec217b2ad55c8c9'/>
<id>urn:sha1:280c81a9402dfa39159c3c01dec217b2ad55c8c9</id>
<content type='text'>
are legal at the interactive interpreter prompt.  They don't do
anything yet...
</content>
</entry>
<entry>
<title>Presumed correct compiler pass for future statements</title>
<updated>2001-02-28T01:58:08Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-28T01:58:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=39e2f3f82499e2c06c092d38b77d554bee6f31e8'/>
<id>urn:sha1:39e2f3f82499e2c06c092d38b77d554bee6f31e8</id>
<content type='text'>
XXX still need to integrate into symtable API

compile.h: Remove ff_n_simple_stmt; obsolete.

           Add ff_found_docstring used internally to skip one and only
           one string at the beginning of a module.

compile.c: Add check for from __future__ imports to far into the file.

 	   In symtable_global() check for -1 returned from
	   symtable_lookup(), which signifies name not defined.

	   Add missing DECERF in symtable_add_def.

           Free c-&gt;c_future.

future.c:  Add special handling for multiple statements joined on a
	   single line using one or more semicolons; this form can
           include an illegal future statement that would otherwise be
           hard to detect.

	   Add support for detecting and skipping doc strings.
</content>
</entry>
<entry>
<title>Improved __future__ parser; still more to do</title>
<updated>2001-02-27T19:07:02Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-02-27T19:07:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4db62b1e14ed909d4bd574633a11c45455c76beb'/>
<id>urn:sha1:4db62b1e14ed909d4bd574633a11c45455c76beb</id>
<content type='text'>
Makefile.pre.in: add target future.o

Include/compile.h: define PyFutureFeaters and PyNode_Future()
                   add c_future slot to struct compiling

Include/symtable.h: add st_future slot to struct symtable

Python/future.c: implementation of PyNode_Future()

Python/compile.c: use PyNode_Future() for nested_scopes support

Python/symtable.c: include compile.h to pick up PyFutureFeatures decl
</content>
</entry>
</feed>
