Mark Dickinson <dicki...@gmail.com> added the comment: This seems evil to me, when you consider the effect of this patch on immutable types:
>>> A = 3 >>> def f(): ... A += 5 ... >>> f() >>> A 8 I find the possibility that a function can implicitly (i.e., without any 'global' declarations) mutate my global module constants... disturbing. Anyway, such a fundamental change would need proper discussion; the right place for that is the python-ideas mailing list rather than the tracker: http://mail.python.org/mailman/listinfo/python-ideas Note also that there's a moratorium on core language changes in effect at the moment, so the earliest this could change is Python 3.3. I'm going to close this issue for now; if the idea gets a good reception on python-ideas it can be reopened. ---------- nosy: +mark.dickinson resolution: -> rejected status: open -> closed versions: +Python 3.3 -Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8977> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com