[Python-Dev] Python FAQ: Why doesn't Python have a "with" statement?

Michael Foord fuzzyman at voidspace.org.uk
Sat Jun 14 00:42:52 CEST 2008


The Python FAQ has the following entry:

4.26   Why doesn't Python have a "with" statement like some other languages?

From:

http://www.python.org/doc/faq/general/

Even if the content is still relevant (I know nothing of the use of 
'with' outside Python), the entry probably needs at least clarifying now 
that Python does have a 'with' statement.

Michael Foord

-- 
http://www.ironpythoninaction.com/
http://www.theotherdelia.co.uk/
http://www.voidspace.org.uk/
http://www.ironpython.info/
http://www.resolverhacks.net/



More information about the Python-Dev mailing list