This proposal seems to be harking back to the meaning of 'with' in
earlier languages, e.g. Pascal, where it makes the fields of a
structure temporarily accessible without qualification.

Before we got the current version of 'with' in Python, there were
periodic proposals to add a similar kind of 'with', but the
consensus was that it was better to just assign the object to a
short local name and qualify with that. As far as I can see, the
situation hasn't changed.

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/3REMRJJGQTXKXEVZGCLIFGI67I3XJYT3/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to