[Python-Dev] Possible context managers in stdlib

Michael Hudson mwh at python.net
Mon Jul 11 12:19:47 CEST 2005


Skip Montanaro <skip at pobox.com> writes:

> Ummm...  What's a "context manager"?

Something that goes 

with ... as var:
     ^ here

If you have a better name, feel free to suggest it, but please catch
up on python-dev first (it's been discussed to unconsciousness, if not
quite death, in the last week or so).

Cheers,
mwh

-- 
  <dash> i am trying to get Asterisk to work
  <dash> it is stabbing me in the face
  <dreid> yes ... i seem to recall that feature in the documentation
                                                -- from Twisted.Quotes


More information about the Python-Dev mailing list