[Python-ideas] Interrogate alternate namespace keyword and concept
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Aug 16 03:06:35 CEST 2009
Prozacgod wrote:
> After this discussion I'm wondering why it ever ended up in any language
> to begin with?
Pascal has it because it doesn't have any general way of
binding a local name to some nested part of a data structure.
You can always do this in Python, and also in C using the
& operator, so those languages don't need a Pascal-style
with-statement.
--
Greg
More information about the Python-ideas
mailing list