<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Lib/test/test_with.py, branch v2.7</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>normalize exceptions passed to the __exit__ method #7853</title>
<updated>2010-02-05T02:12:14+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-02-05T02:12:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=7ddf99207e672887bf09b1b9dc811a933bfab8a8'/>
<id>7ddf99207e672887bf09b1b9dc811a933bfab8a8</id>
<content type='text'>
In Python 2.x, exceptions in finally blocks are not normalized.  Since with
statements are implemented using finally blocks, ceval.c had to be tweaked to
distinguish between with finally blocks and normal ones.

A test for the finalization of generators containing with statements was also
added.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Python 2.x, exceptions in finally blocks are not normalized.  Since with
statements are implemented using finally blocks, ceval.c had to be tweaked to
distinguish between with finally blocks and normal ones.

A test for the finalization of generators containing with statements was also
added.
</pre>
</div>
</content>
</entry>
<entry>
<title>add a test for #7853; the exception must be normalized for with</title>
<updated>2010-02-05T01:53:27+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-02-05T01:53:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=a90d438e3495c5ba8e718dc03e5075a830fbad4f'/>
<id>a90d438e3495c5ba8e718dc03e5075a830fbad4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>#7092: Silence more py3k warnings. Patch by Florent Xicluna.</title>
<updated>2010-02-03T05:37:26+00:00</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2010-02-03T05:37:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=4d7b2939d62c99cbb1e4f9eae86a94a4f4513890'/>
<id>4d7b2939d62c99cbb1e4f9eae86a94a4f4513890</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reverting the Revision: 77368.  I committed Flox's big patch for tests by</title>
<updated>2010-01-08T19:04:16+00:00</updated>
<author>
<name>Senthil Kumaran</name>
<email>orsenthil@gmail.com</email>
</author>
<published>2010-01-08T19:04:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=6e76436a44bb9961ef76e4c5eab031370e815989'/>
<id>6e76436a44bb9961ef76e4c5eab031370e815989</id>
<content type='text'>
mistake. ( It may come in for sure tough)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mistake. ( It may come in for sure tough)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox</title>
<updated>2010-01-08T18:41:40+00:00</updated>
<author>
<name>Senthil Kumaran</name>
<email>orsenthil@gmail.com</email>
</author>
<published>2010-01-08T18:41:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=2c9b88c86f1b26ddca97f8550ad51d137c713682'/>
<id>2c9b88c86f1b26ddca97f8550ad51d137c713682</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add missing assertion #6313</title>
<updated>2009-06-19T22:09:17+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-06-19T22:09:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=ae96c717ff0097163bb84cbf15fbf2f264833464'/>
<id>ae96c717ff0097163bb84cbf15fbf2f264833464</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove duplicate test</title>
<updated>2009-06-19T22:07:47+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-06-19T22:07:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=21da98ef09d7599c22207d8fc29f02c8a3f0f1af'/>
<id>21da98ef09d7599c22207d8fc29f02c8a3f0f1af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Better name for "Ctor".</title>
<updated>2009-06-04T10:10:41+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2009-06-04T10:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=1d49ff11f184228a9f98e288505792bdcd972743'/>
<id>1d49ff11f184228a9f98e288505792bdcd972743</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow multiple context managers in one with statement, as proposed</title>
<updated>2009-05-25T21:02:56+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2009-05-25T21:02:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=6e42e254b0c2a567b0099fc1f1446ee4a898dc0f'/>
<id>6e42e254b0c2a567b0099fc1f1446ee4a898dc0f</id>
<content type='text'>
in http://codereview.appspot.com/53094 and accepted by Guido.

The construct is transformed into multiple With AST nodes so that
there should be no problems with the semantics.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in http://codereview.appspot.com/53094 and accepted by Guido.

The construct is transformed into multiple With AST nodes so that
there should be no problems with the semantics.
</pre>
</div>
</content>
</entry>
<entry>
<title>#4559: When a context manager's __exit__() method returns an object whose</title>
<updated>2008-12-10T23:22:49+00:00</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-12-10T23:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=433503944d72c6e6428941b35422878608bc9967'/>
<id>433503944d72c6e6428941b35422878608bc9967</id>
<content type='text'>
conversion to bool raises an exception, 'with' loses that exception.

Reviewed by Jeffrey Yasskin.
Already ported to 2.5, will port to 2.6 and 3.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
conversion to bool raises an exception, 'with' loses that exception.

Reviewed by Jeffrey Yasskin.
Already ported to 2.5, will port to 2.6 and 3.0
</pre>
</div>
</content>
</entry>
</feed>
