[Python-Dev] Re: Type annotations, PEP 649 and PEP 563

2021年10月22日 13:42:00 -0700

Larry Hastings wrote:
> In Python, if you evaluate an undefined name, Python raises a 
> NameError. This is so consistent I'm willing to call it a "rule". 
Would it help the think of the function creation as catching that exception, 
and then finishing construction with its own version of NaN?
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/KGMXBLE2AP2TBOUBOVCTNFHAVX77ZFLO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to