This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients LewisGaul, grahamd, iritkatriel, pitrou, vstinner
Date 2022-01-07.12:04:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641557041.85.0.768368238881.issue19073@roundup.psfhosted.org>
In-reply-to
Content
This is the check that is preventing qualname being a property:

https://github.com/python/cpython/blob/994f90c0772612780361e1dc5fa5223dce22f70a/Objects/typeobject.c#L2853

Note that it is not the same check used for assignment, which is here:

https://github.com/python/cpython/blob/994f90c0772612780361e1dc5fa5223dce22f70a/Objects/typeobject.c#L559


I think some unit tests are missing for properties, they would need to be added.
History
Date User Action Args
2022-01-07 12:04:01iritkatrielsetrecipients: + iritkatriel, pitrou, vstinner, grahamd, LewisGaul
2022-01-07 12:04:01iritkatrielsetmessageid: <1641557041.85.0.768368238881.issue19073@roundup.psfhosted.org>
2022-01-07 12:04:01iritkatriellinkissue19073 messages
2022-01-07 12:04:01iritkatrielcreate