Steven D'Aprano wrote:
I think that we should assume that
def func(x:Spam()):
    ...

will always look up and call Spam when the function is defined.

Personally I think we should be moving towards not even
guaranteeing that. Then we would have a chance of some
day ending up with a static typing mechanism that's
sanely designed and truly fit for purpose.

--
Greg
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to