<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_contextlib.py, branch v2.7a3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_contextlib.py?h=v2.7a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_contextlib.py?h=v2.7a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2009-06-30T22:57:08Z</updated>
<entry>
<title>convert usage of fail* to assert*</title>
<updated>2009-06-30T22:57:08Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-06-30T22:57:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e'/>
<id>urn:sha1:5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Deprecate contextlib.nested().  The with-statement now provides this functionality directly.</title>
<updated>2009-05-29T01:46:48Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2009-05-29T01:46:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=822b87f276d11cbe0d45f91cbeb9e9abdf231c7e'/>
<id>urn:sha1:822b87f276d11cbe0d45f91cbeb9e9abdf231c7e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some from __future__ import with_statements</title>
<updated>2008-04-30T21:25:55Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-04-30T21:25:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=95287fa951ff5b8f1c38e7a9f5e9134acd59a397'/>
<id>urn:sha1:95287fa951ff5b8f1c38e7a9f5e9134acd59a397</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Standardize on test.test_support.run_unittest() (as opposed to a mix of run_unittest() and run_suite()). Also, add functionality to run_unittest() that admits usage of unittest.TestLoader.loadTestsFromModule().</title>
<updated>2007-04-25T17:29:52Z</updated>
<author>
<name>Collin Winter</name>
<email>collinw@gmail.com</email>
</author>
<published>2007-04-25T17:29:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c2898c5a678e6dd00c3e0b18a214fcd7a3533800'/>
<id>urn:sha1:c2898c5a678e6dd00c3e0b18a214fcd7a3533800</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the old decimal context management tests from test_contextlib (guess who didn't run the test suite before committing...)</title>
<updated>2006-08-31T12:51:25Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2006-08-31T12:51:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=db38588a2549035e0e4bd7b7a3627ab48addb2bd'/>
<id>urn:sha1:db38588a2549035e0e4bd7b7a3627ab48addb2bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Finish bringing SVN into line with latest version of PEP 343 by getting rid of all remaining references to context objects that I could find. Without a __context__() method context objects no longer exist. Also get test_with working again, and adopt a suggestion from Neal for decimal.Context.get_manager()</title>
<updated>2006-05-03T13:02:47Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2006-05-03T13:02:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=afd5e63e243b600e5344a34760d9e6565dafe1a9'/>
<id>urn:sha1:afd5e63e243b600e5344a34760d9e6565dafe1a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get rid of __context__, per the latest changes to PEP 343 and python-dev</title>
<updated>2006-05-02T19:47:52Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2006-05-02T19:47:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=da5b701aeef755f2317a41e36cc950cfdc0c95cb'/>
<id>urn:sha1:da5b701aeef755f2317a41e36cc950cfdc0c95cb</id>
<content type='text'>
discussion.
There are two places of documentation that still mention __context__:
Doc/lib/libstdtypes.tex -- I wasn't quite sure how to rewrite that without
spending a whole lot of time thinking about it; and whatsnew, which Andrew
usually likes to change himself.
</content>
</entry>
<entry>
<title>Move the PEP 343 documentation and implementation closer to the</title>
<updated>2006-04-25T10:56:51Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2006-04-25T10:56:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a7e820a408fa3df02f8d42a183e06774e05cd871'/>
<id>urn:sha1:a7e820a408fa3df02f8d42a183e06774e05cd871</id>
<content type='text'>
terminology in the alpha 1 documentation.

 - "context manager" reverts to its alpha 1 definition
 - the term "context specifier" goes away entirely
 - contextlib.GeneratorContextManager is renamed GeneratorContext

There are still a number of changes relative to alpha 1:

  - the expression in the with statement is explicitly called the
    "context expression" in the language reference
  - the terms 'with statement context', 'context object' or 'with
    statement context' are used in several places instead of a bare
    'context'. The aim of this is to avoid ambiguity in relation to the
    runtime context set up when the block is executed, and the context
    objects that already exist in various application domains (such as
    decimal.Context)
  - contextlib.contextmanager is renamed to contextfactory
    This best reflects the nature of the function resulting from the
    use of that decorator
  - decimal.ContextManager is renamed to WithStatementContext
    Simple dropping the 'Manager' part wasn't possible due to the
    fact that decimal.Context already exists and means something
    different. WithStatementContext is ugly but workable.

A technically unrelated change snuck into this commit:
contextlib.closing now avoids the overhead of creating a
generator, since it's trivial to implement that particular
context manager directly.
</content>
</entry>
<entry>
<title>Fix broken contextlib test from last checkin (I'd've sworn I tested that before checking it in. . .)</title>
<updated>2006-04-24T04:59:28Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2006-04-24T04:59:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0e01962d51e4509d864419240c393cc27187ccd1'/>
<id>urn:sha1:0e01962d51e4509d864419240c393cc27187ccd1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix contextlib.nested to cope with exit methods raising and handling exceptions</title>
<updated>2006-04-24T04:37:15Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2006-04-24T04:37:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=da2268feecd4b956161ed7fdd05da125606189cc'/>
<id>urn:sha1:da2268feecd4b956161ed7fdd05da125606189cc</id>
<content type='text'>
</content>
</entry>
</feed>
