<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Lib/__future__.py, branch v2.7</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>Patch #2477: Added from __future__ import unicode_literals</title>
<updated>2008-03-26T22:01:37+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-03-26T22:01:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=da64b7eee79e0ae36e1aec0bfc835081d5ec5d74'/>
<id>da64b7eee79e0ae36e1aec0bfc835081d5ec5d74</id>
<content type='text'>
The new PyParser_*Ex() functions are based on Neal's suggestion and initial patch. The new __future__ feature makes all '' and r'' unicode strings. b'' and br'' stay (byte) strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new PyParser_*Ex() functions are based on Neal's suggestion and initial patch. The new __future__ feature makes all '' and r'' unicode strings. b'' and br'' stay (byte) strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport of the print function, using a __future__ import.</title>
<updated>2008-03-18T23:45:49+00:00</updated>
<author>
<name>Eric Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2008-03-18T23:45:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=a98219ed28943b11b44341d41b45d39c0e922073'/>
<id>a98219ed28943b11b44341d41b45d39c0e922073</id>
<content type='text'>
This work is substantially Anthony Baxter's, from issue
1633807.  I just freshened it, made a few minor tweaks,
and added the test cases.  I also created issue 2412,
which is to check for 2to3's behavior with the print
function.  I also added myself to ACKS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This work is substantially Anthony Baxter's, from issue
1633807.  I just freshened it, made a few minor tweaks,
and added the test cases.  I also created issue 2412,
which is to check for 2to3's behavior with the print
function.  I also added myself to ACKS.
</pre>
</div>
</content>
</entry>
<entry>
<title>I could have sworn this was part of the change to not abbreviate ABSOLUTE</title>
<updated>2006-04-03T06:58:51+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-04-03T06:58:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=117e6b3cdeba036c8932321c2f4407501226f94e'/>
<id>117e6b3cdeba036c8932321c2f4407501226f94e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't abbreviate ABS, use long name ABSOLUTE.</title>
<updated>2006-04-03T06:26:32+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-04-03T06:26:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=297c4cd115ffb1ef124bdba3224c8c193de7b22e'/>
<id>297c4cd115ffb1ef124bdba3224c8c193de7b22e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make __future__ features similar for with and absolute import since they were both added before a1</title>
<updated>2006-02-28T20:02:42+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-02-28T20:02:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=c8a576925ac43db0fa86b4cb1d70b5413e237901'/>
<id>c8a576925ac43db0fa86b4cb1d70b5413e237901</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>from __future__ import with_statement addon for 'with', mostly written by</title>
<updated>2006-02-28T19:02:24+00:00</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-02-28T19:02:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=a32da9df39a8ed9150faf8dfc91fcc0102e7b3e5'/>
<id>a32da9df39a8ed9150faf8dfc91fcc0102e7b3e5</id>
<content type='text'>
Neal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Neal.
</pre>
</div>
</content>
</entry>
<entry>
<title>SF patch #1438387, PEP 328: relative and absolute imports.</title>
<updated>2006-02-28T16:09:29+00:00</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-02-28T16:09:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=47386f691e53e5720d9c2fac4f03b54078d3d58d'/>
<id>47386f691e53e5720d9c2fac4f03b54078d3d58d</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Finish removal of CO_GENERATOR_ALLOWED.</title>
<updated>2006-02-27T23:24:48+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-02-27T23:24:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=d4e46e691f737a0ebb3eeee2cc259093ed058ba6'/>
<id>d4e46e691f737a0ebb3eeee2cc259093ed058ba6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Repair repr of future-features (wasn't updated to include the new</title>
<updated>2001-08-24T17:13:54+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-24T17:13:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=b681d607d0fef9452662563fbec7e61f6fc40115'/>
<id>b681d607d0fef9452662563fbec7e61f6fc40115</id>
<content type='text'>
compiler-flag argument).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compiler-flag argument).
</pre>
</div>
</content>
</entry>
<entry>
<title>Back out trying to use the C values for CO_xxx.</title>
<updated>2001-08-24T06:29:12+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-24T06:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=8b89a68befbd33a653d8694e073943d5883fa3bd'/>
<id>8b89a68befbd33a653d8694e073943d5883fa3bd</id>
<content type='text'>
__future__.py reverted to 1.9.
newmodule.c reverted to 2.32.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
__future__.py reverted to 1.9.
newmodule.c reverted to 2.32.
</pre>
</div>
</content>
</entry>
</feed>
