Re: [Python-ideas] Globalize lonely augmented assignment

Huh? That makes no sense. a[x]=x is not a = a [] x or anything like that. Language decisions shouldn't be made based on wrong understandings of how the language works. As to the idea of turning a guaranteed run time error into a compile time error I'm usually in favor of that. If it doesn't muck up the compiler. --- Bruce (via android) On Jun 13, 2010 5:54 AM, "Demur Rumed" <junkmute@hotmail.com> wrote:
Some like to think of []= as a form of augmented assignment Currently, []= doesn't align with other augmenteds on this point That doesn't seem very consistent. Add on that augmented assignment is the only globalizing store statement which also dereferences, and consistency doesn't seem to be a strong point against this proposal ------------------------------ Jeux Messenger : mettez vos amis au défi! Jeux Messenger!<http://go.microsoft.com/?linkid=9734391> _______________________________________________ Python-ideas mailing list Python-ideas@python.org http://mail.python.org/mailman/listinfo/python-ideas
participants (1)
-
Bruce Leban