On Sat, 24 Apr 2021, 5:53 pm Larry Hastings, <larry@hastings.org> 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 -- python-dev@python.org
To unsubscribe send an email to python-dev-leave@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/IK7IWUCTESD5OZE47J45EY3FRVM7GEKM/
Code of Conduct: http://python.org/psf/codeofconduct/