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 Kevin Modzelewski
Recipients Kevin Modzelewski, pablogsal
Date 2020-11-04.21:56:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604526970.3.0.249891884923.issue42266@roundup.psfhosted.org>
In-reply-to
Content
The problem is that the descriptor-ness of a type-level attribute is only checked at opcache-set time, not at opcache-hit time.

$ python3.8 test.py
2

$ ./python --version
Python 3.10.0a2+
$ git rev-parse --short HEAD
789359f47c
$ ./python test.py
1
History
Date User Action Args
2020-11-04 21:56:10Kevin Modzelewskisetrecipients: + Kevin Modzelewski, pablogsal
2020-11-04 21:56:10Kevin Modzelewskisetmessageid: <1604526970.3.0.249891884923.issue42266@roundup.psfhosted.org>
2020-11-04 21:56:10Kevin Modzelewskilinkissue42266 messages
2020-11-04 21:56:10Kevin Modzelewskicreate