Message373641
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 |
|
Date |
User |
Action |
Args |
2020-07-14 15:23:17 | christian.heimes | set | recipients:
+ christian.heimes, lukasz.langa, kam193 |
2020-07-14 15:23:17 | christian.heimes | set | messageid: <1594740197.43.0.995605041504.issue41295@roundup.psfhosted.org> |
2020-07-14 15:23:17 | christian.heimes | link | issue41295 messages |
2020-07-14 15:23:17 | christian.heimes | create | |
|