A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/039558.html below:

[Python-Dev] replacing 'global'

[Python-Dev] replacing 'global' [Python-Dev] replacing 'global'Just van Rossum just at letterror.com
Sun Oct 26 07:37:02 EST 2003
Skip Montanaro wrote:

> Nope.

Ok :). Yet I think I'm starting to agree with you and Alex that :=
should mean "this name is NON-local".

A couple more things:

- I think augmented assignments CAN be made "rebinding" without breaking
code, since currently a += 1 fails if a is neither local nor global.

- Would := be allowed in statements like "self.a := 2"? It makes no
sense, but since "(a, b) := (2, 3)" IS meaningful, what about
"(a, b, self.c) = (1, 2, 3)"?

Just

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4