Ah, I think you might be missing the context of the original proposal? I do
mean bare unbound identifiers - at lease as they occur in this new syntax.

# currently works
spam = “eggs”
spam: eggs

# currently a NameError
spam

# proposed to work, currently illegal

@spam
eggs

@spam(“eggs”)
cheese

@spam
eggs: str

But none of this would change the first three examples.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/JETD7GGN2HKKL3E6A2XNRTCASAMIQQM5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to