[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
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
More information about the Python-Dev
mailing list