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 christian.heimes
Recipients christian.heimes, kam193, lukasz.langa
Date 2020-07-14.15:23:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594740197.43.0.995605041504.issue41295@roundup.psfhosted.org>
In-reply-to
Content
The regression was introduced in commit 8912c182455de83e27d5c120639ec91b18247913

$ git checkout v3.8.4
$ ./configure -C
$ make
$ $ ./python bpo41295.py 
Traceback (most recent call last):
  File "bpo41295.py", line 14, in <module>
    obj.test = True
  File "bpo41295.py", line 3, in __setattr__
    type.__setattr__(cls, key, value)
TypeError: can't apply this __setattr__ to DefaultMeta object

$ git revert 8912c182455de83e27d5c120639ec91b18247913
[detached HEAD 8d3c7847a0] Revert "bpo-39960: Allow heap types in the "Carlo Verre" hack check that override "tp_setattro()" (GH-21092) (GH-21339)"
 3 files changed, 11 insertions(+), 117 deletions(-)
$ make
$ ./python bpo41295.py 
True
History
Date User Action Args
2020-07-14 15:23:17christian.heimessetrecipients: + christian.heimes, lukasz.langa, kam193
2020-07-14 15:23:17christian.heimessetmessageid: <1594740197.43.0.995605041504.issue41295@roundup.psfhosted.org>
2020-07-14 15:23:17christian.heimeslinkissue41295 messages
2020-07-14 15:23:17christian.heimescreate