<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/contextlib.py, branch 2.6</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/contextlib.py?h=2.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/contextlib.py?h=2.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-04-30T21:08:42Z</updated>
<entry>
<title>#1748: use functools.wraps instead of rolling own metadata update.</title>
<updated>2008-04-30T21:08:42Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2008-04-30T21:08:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=655fc7012abdf50e7f827762fb08760fe54b0094'/>
<id>urn:sha1:655fc7012abdf50e7f827762fb08760fe54b0094</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix for bug 1705170 - contextmanager swallowing StopIteration (2.5 backport candidate)</title>
<updated>2007-11-02T10:09:12Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2007-11-02T10:09:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3814a911aa6953a5aefbe8150d280d3a20747d6d'/>
<id>urn:sha1:3814a911aa6953a5aefbe8150d280d3a20747d6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use try-except-finally in contextlib.</title>
<updated>2007-08-23T18:11:33Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2007-08-23T18:11:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ac4018ae392459b6866ada5d0792d143d2c7cebc'/>
<id>urn:sha1:ac4018ae392459b6866ada5d0792d143d2c7cebc</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>Fix docstring for contextfactory; mentioned old contextmanager name.</title>
<updated>2006-04-29T21:29:50Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2006-04-29T21:29:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1e0139753361f7fb820e63950b04203dc02e803c'/>
<id>urn:sha1:1e0139753361f7fb820e63950b04203dc02e803c</id>
<content type='text'>
</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 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>
<entry>
<title>Minor clarity edit to contextlib per Guido's request.</title>
<updated>2006-04-10T17:56:29Z</updated>
<author>
<name>Phillip J. Eby</name>
<email>pje@telecommunity.com</email>
</author>
<published>2006-04-10T17:56:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=93149d935d08c5ea1c21ebc74d11016026c0a6b6'/>
<id>urn:sha1:93149d935d08c5ea1c21ebc74d11016026c0a6b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typos; enhance comments on patch for SF #1462485.</title>
<updated>2006-04-03T21:20:07Z</updated>
<author>
<name>Phillip J. Eby</name>
<email>pje@telecommunity.com</email>
</author>
<published>2006-04-03T21:20:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9388020b86cbc21901f6cf4612866aaa9c85efbe'/>
<id>urn:sha1:9388020b86cbc21901f6cf4612866aaa9c85efbe</id>
<content type='text'>
 --This line, and those below, will be ignored--

M    contextlib.py
</content>
</entry>
</feed>
