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

Leif Walsh leif.walsh at gmail.com
Sun Jun 15 22:07:37 CEST 2008

-1 to this 'on' statement.

On Sat, Jun 14, 2008 at 10:14 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> It isn't that a Pascal-with-style statement can't be achieved, it's that it
> is pointless syntactic sugar in Python. Just use o =
> long_complicated_object_name instead.

+1 to this reason.


More information about the Python-Dev mailing list