On Sun, Nov 14, 2021 at 6:05 AM Steven D'Aprano firstname.lastname@example.org wrote:
global a = 3
The issue i see is that Python doesn't have declarations. So you could use the name, a in multiple places. what would this mean:
a = 34
global a = 0
would it mean that the first a was loca, and the second local? or would it be illegal -- glob could only be used on the first invocation? or ??
and frankly, global (should have) limited use anyway -- making it a bit easier to use seems not very helpful.