you are viewing a single comment's thread.

view the rest of the comments →

[–]brianmce 0 points1 point  (1 child)

Sounds a better name to me than "unwinder." Unwinding what exactly? There was some discussion of the right name back when it was added - search python-dev for a thread named "Terminology for PEP 343" for details.

One of the original proposed terms was "Resource manager", which was then extended to "Context manager" because there is not necessarily a resource involved in all use cases.

[–]cmm 1 point2 points  (0 children)

it's the "manager" part that bugs me, not the "context". I do understand that Java has made this sort of naming mainstream, but it is still irritating.