[issue46162] Make `builtins.property` generic

Guido van Rossum report at bugs.python.org
Thu Dec 23 13:56:35 EST 2021


Guido van Rossum <guido at python.org> added the comment:

Yes, it is too late for 3.10 (but you can add it to typing_extensions). Also, PEP 585 is done, we don't update PEPs. Please do test with `from __future__ import annotations` -- you never know.

When this was first proposed (https://github.com/python/typing/issues/985) there were worries about backwards compatibility. Given how common property is, we need to make sure there are no problems with that. Can you address that? I don't see it in the original thread.

Also, since this requires type checkers to change, do we need a PEP?

Finally. Please keep discussion in this bpo issue, don't have long discussions on the PR. (Honestly I think it's too soon for a PR given that we don't seem to have agreement in the typing tracker discussion.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46162>
_______________________________________


More information about the Python-bugs-list mailing list