<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Lib/test/test_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>use assert[Not]IsInstance where appropriate</title>
<updated>2010-01-24T16:58:36+00:00</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2010-01-24T16:58:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=d3e796b9ea4e5fed24ef7e1aa0b0dadb1dfb1c0e'/>
<id>d3e796b9ea4e5fed24ef7e1aa0b0dadb1dfb1c0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make sure the parser flags and passed onto the compiler</title>
<updated>2008-10-31T02:16:05+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-10-31T02:16:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=7e4bba4762afad0081c8fb358262a88dbcf978b6'/>
<id>7e4bba4762afad0081c8fb358262a88dbcf978b6</id>
<content type='text'>
This fixes "from __future__ import unicode_literals" in an exec statment
See #4225
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes "from __future__ import unicode_literals" in an exec statment
See #4225
</pre>
</div>
</content>
</entry>
<entry>
<title>fix __future__ imports when multiple features are given</title>
<updated>2008-10-26T20:21:13+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-10-26T20:21:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=c3c83d999471384c0ecdd8ea0c1cec56a54ad235'/>
<id>c3c83d999471384c0ecdd8ea0c1cec56a54ad235</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a bug in the parser's future statement handling that led to "with"</title>
<updated>2006-09-24T12:35:36+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-09-24T12:35:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=464e7569deaea7eba0bedf2a100d2be3e8582ad6'/>
<id>464e7569deaea7eba0bedf2a100d2be3e8582ad6</id>
<content type='text'>
not being recognized as a keyword after, e.g., this statement:
from __future__ import division, with_statement
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
not being recognized as a keyword after, e.g., this statement:
from __future__ import division, with_statement
</pre>
</div>
</content>
</entry>
<entry>
<title>SF #736962, port test_future to unittest, add a bit more coverage, by Walter DÃ¶rwald</title>
<updated>2003-12-13T22:43:34+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-12-13T22:43:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=dfb3d6130c7b2f79762adc1f758373e0a1e1e0cb'/>
<id>dfb3d6130c7b2f79762adc1f758373e0a1e1e0cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Complete the absolute import patch for the test suite.  All relative</title>
<updated>2002-07-30T23:27:12+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2002-07-30T23:27:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=9a7b9edc4f54325e53864dd47c789d252a873a7e'/>
<id>9a7b9edc4f54325e53864dd47c789d252a873a7e</id>
<content type='text'>
imports of test modules now import from the test package.  Other
related oddities are also fixed (like DeprecationWarning filters that
weren't specifying the full import part, etc.).  Also did a general
code cleanup to remove all "from test.test_support import *"'s.  Other
from...import *'s weren't changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
imports of test modules now import from the test package.  Other
related oddities are also fixed (like DeprecationWarning filters that
weren't specifying the full import part, etc.).  Also did a general
code cleanup to remove all "from test.test_support import *"'s.  Other
from...import *'s weren't changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of relative imports in all unittests.  Now anything that</title>
<updated>2002-07-23T19:04:11+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2002-07-23T19:04:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=f2e8a66e10a6511d80081e7381c0378fa42e489f'/>
<id>f2e8a66e10a6511d80081e7381c0378fa42e489f</id>
<content type='text'>
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".

This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).

Now Tim and Jack can have at it. :)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".

This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).

Now Tim and Jack can have at it. :)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix SF bug [ #450245 ] Error in parsing future stmts</title>
<updated>2001-08-20T20:33:42+00:00</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-08-20T20:33:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=f0ec91755a01fe7e41437a1ed27fd2332d5a7002'/>
<id>f0ec91755a01fe7e41437a1ed27fd2332d5a7002</id>
<content type='text'>
Add test case to cover multiple future statements on separate lines of
a module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add test case to cover multiple future statements on separate lines of
a module.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compileall.py so that it fails on SyntaxErrors</title>
<updated>2001-04-18T01:19:28+00:00</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-18T01:19:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=d9caa8117ea932214732643e5710569151bbcc2e'/>
<id>d9caa8117ea932214732643e5710569151bbcc2e</id>
<content type='text'>
The changes cause compilation failures in any file in the Python
installation lib directory to cause the install to fail.  It looks
like compileall.py intended to behave this way, but a change to
py_compile.py and a separate bug defeated it.

Fixes SF bug #412436

This change affects the test suite, which contains several files that
contain intentional errors.  The solution is to extend compileall.py
with the ability to skip compilation of selected files.

In the test suite, rename nocaret.py and test_future[3..7].py to start
with badsyntax_nocaret.py and badsyntax_future[3..7].py.  Update the
makefile to skip compilation of these files.  Update the tests to use
the name names for imports.

NB compileall.py is changed so that compile_dir() returns success only
if all recursive calls to compile_dir() also check success.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The changes cause compilation failures in any file in the Python
installation lib directory to cause the install to fail.  It looks
like compileall.py intended to behave this way, but a change to
py_compile.py and a separate bug defeated it.

Fixes SF bug #412436

This change affects the test suite, which contains several files that
contain intentional errors.  The solution is to extend compileall.py
with the ability to skip compilation of selected files.

In the test suite, rename nocaret.py and test_future[3..7].py to start
with badsyntax_nocaret.py and badsyntax_future[3..7].py.  Update the
makefile to skip compilation of these files.  Update the tests to use
the name names for imports.

NB compileall.py is changed so that compile_dir() returns success only
if all recursive calls to compile_dir() also check success.
</pre>
</div>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-03-01T08:31:39+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-03-01T08:31:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=2813ca95862e4f9d739dd66c1be9890364a579c2'/>
<id>2813ca95862e4f9d739dd66c1be9890364a579c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
