<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Doc/ref/ref3.tex, branch v2.5a2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/ref/ref3.tex?h=v2.5a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/ref/ref3.tex?h=v2.5a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-04-25T10:56:51Z</updated>
<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>Change PEP 343 related documentation to use the term context specifier instead of context object</title>
<updated>2006-04-24T04:17:02Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2006-04-24T04:17:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=877cf234c903310d1b4bae41178d1921599783ee'/>
<id>urn:sha1:877cf234c903310d1b4bae41178d1921599783ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update with statement documentation to use same terminology as 2.5a1 implementation</title>
<updated>2006-04-23T15:39:16Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2006-04-23T15:39:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fee3dfc061c4312636228aa48e0cf78a647645c9'/>
<id>urn:sha1:fee3dfc061c4312636228aa48e0cf78a647645c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bug #1462278: small fix in documentation of __op__ vs __rop__ methods</title>
<updated>2006-04-01T07:23:08Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-04-01T07:23:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e071b001cacb81202fba0d20c03f45a9bd60d78d'/>
<id>urn:sha1:e071b001cacb81202fba0d20c03f45a9bd60d78d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>typos</title>
<updated>2006-03-31T16:12:34Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-03-31T16:12:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=76a2caebed1849d03400c381535418031d11e98e'/>
<id>urn:sha1:76a2caebed1849d03400c381535418031d11e98e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add index entries for new-style/old-style class.</title>
<updated>2006-03-31T15:12:16Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-03-31T15:12:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4c974989d72d858f0ee8b235796730f96272c9f5'/>
<id>urn:sha1:4c974989d72d858f0ee8b235796730f96272c9f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add version added info for with statement and context managers</title>
<updated>2006-03-28T05:51:02Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-03-28T05:51:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d03b073e9bc531bd21d3f6da9882c54e36975b0c'/>
<id>urn:sha1:d03b073e9bc531bd21d3f6da9882c54e36975b0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document the PEP 343 context manager protocol methods.</title>
<updated>2006-03-27T19:59:34Z</updated>
<author>
<name>Phillip J. Eby</name>
<email>pje@telecommunity.com</email>
</author>
<published>2006-03-27T19:59:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5d0f4c61931e9696a8864e86eab3f00a5600bd37'/>
<id>urn:sha1:5d0f4c61931e9696a8864e86eab3f00a5600bd37</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Checking in the code for PEP 357.</title>
<updated>2006-03-07T18:50:55Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2006-03-07T18:50:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38fff8c4e4276e4e57660a78f305e68bfa87874b'/>
<id>urn:sha1:38fff8c4e4276e4e57660a78f305e68bfa87874b</id>
<content type='text'>
This was mostly written by Travis Oliphant.
I've inspected it all; Neal Norwitz and MvL have also looked at it
(in an earlier incarnation).
</content>
</entry>
<entry>
<title>Updating the short blob about old/new-style classes to reflect (IMHO) more</title>
<updated>2005-12-26T18:06:17Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2005-12-26T18:06:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ddddd2f7e675ccf5d860d8ab8c31822ab71ecf5c'/>
<id>urn:sha1:ddddd2f7e675ccf5d860d8ab8c31822ab71ecf5c</id>
<content type='text'>
precisely the motivation and the differences.

Added links to www.python.org/doc/newstyle.html and a footnote to warn against
the statement "x[i] is equivalent to x.__getitem__(i)", which already caused
many invalid bug reports on SF.
</content>
</entry>
</feed>
