On Wed, Apr 19, 2006 at 11:10:55PM +1000, Nick Coghlan wrote: > When Phillip went through to make the terminology consistent he actually > swapped the meanings of "context" (which meant 'has a __context__ method' > in the original PEP) and "context manager" (which meant 'has __enter__ and > __exit__ methods and a __context__ method that returns self' in the > original PEP). Yes, that was exactly what he set out to do. I noted that the terms "context" and "context manager" seemed to be exactly reversed from what's intuitive, and from how the user-facing documentation is written; the post at <http://mail.python.org/pipermail/python-dev/2006-April/063842.html> contains my argument. GvR approved, and Phillip went ahead and made the change. --amk
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4