Message408131
I think the issue on display here is that isinstance could cause a side effect, which I dare say it's unexpected (and not documented AFAIK). Are there any reasons why __class__ cannot be retrieved with object.__getattribute__ instead? In fact, considering that __getattribute__ could be overridden, this would be the right thing to do imho, else isinstance would break spectacularly, like in my previous example. |
|
Date |
User |
Action |
Args |
2021-12-09 15:02:37 | Gabriele Tornetta | set | recipients:
+ Gabriele Tornetta, steven.daprano, r.david.murray, bup |
2021-12-09 15:02:37 | Gabriele Tornetta | set | messageid: <1639062157.18.0.257697415684.issue32683@roundup.psfhosted.org> |
2021-12-09 15:02:37 | Gabriele Tornetta | link | issue32683 messages |
2021-12-09 15:02:37 | Gabriele Tornetta | create | |
|