[Python-Dev] Re: Let's Fix Class Annotations -- And Maybe Annotations Generally

2021年4月24日 07:18:15 -0700

On 2021年4月24日, 5:53 pm Larry Hastings, <[email protected]> wrote:
>
> So I now suspect that my knee-jerk answer is wrong. Am I going too far
> down the rabbit hole? Should I *just* make the change for user classes
> and leave builtin classes untouched? What do you think?
>
I'd suggest kicking the can down the road: leave builtin classes alone for
now, but file a ticket to reconsider the question for 3.11.
In the meantime, inspect.get_annotations can help hide the discrepancy.
Cheers,
Nick.
>
> Cheers,
>
>
> */arry*
> _______________________________________________
> 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/IK7IWUCTESD5OZE47J45EY3FRVM7GEKM/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
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/2OPILFSQYQP4ERZB6OGABL5ENEWFTRQN/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to