David W. Lambert <lamber...@corning.com> added the comment:

The alternative is unreasonable.  I doubt you'd be happy with this:


a = 'Something'

def variable_both_global_and_local()->Exception('No good!'):
    del a    # delete a from global name space
    a = 'anotherthing'  # define a in local name space

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5092>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to