Message365202
That is not necessarily the same thing, hence why there was a bug.
>>> hasattr(object, '__bool__')
False
>>> bool(object)
True
I think you may be right that magic methods shouldn't magically appear for wrapped objects, except those that do magically appear, like __bool__. |
|
Date |
User |
Action |
Args |
2020-03-28 04:18:49 | aviso | set | recipients:
+ aviso, rbcollins, cjw296, r.david.murray, michael.foord, pconnell, Darragh Bailey, lisroach, anthonypjshaw, mariocj89, xtreak, Amir |
2020-03-28 04:18:49 | aviso | set | messageid: <1585369129.85.0.0666732056622.issue39966@roundup.psfhosted.org> |
2020-03-28 04:18:49 | aviso | link | issue39966 messages |
2020-03-28 04:18:49 | aviso | create | |
|