[Python-Dev] Why are contexts also managers? (was r45544 (original) (raw)
[Python-Dev] Why are contexts also managers? (was r45544 - peps/trunk/pep-0343.txt)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Apr 21 14:31:48 CEST 2006
- Previous message: [Python-Dev] Why are contexts also managers? (was r45544 - peps/trunk/pep-0343.txt)
- Next message: [Python-Dev] Why are contexts also managers? (was r45544 - peps/trunk/pep-0343.txt)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan wrote:
During implementation, the meanings of "context" and "context manager" were swapped from the meanings in the approved PEP, leading to the current situation where decimal.Context is actually not, in fact, a context.
That's rather disappointing. I liked the way that decimal.Context was a context. Was there a conscious choice to swap the terms, or did it happen by accident?
-- Greg
- Previous message: [Python-Dev] Why are contexts also managers? (was r45544 - peps/trunk/pep-0343.txt)
- Next message: [Python-Dev] Why are contexts also managers? (was r45544 - peps/trunk/pep-0343.txt)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]