Message365201
> What may make more sense for some magic methods is to call the underlying object and use the return value or raise any exception that occurs.
Sorry, isn't that what the previous issue did? It tries to return the wrapped object attribute and raises exception if attribute is not present. Using wrapped object attribute and falling back to default value means that it will always return a value but the user can't figure out if it's from wrapped object or the default value for the magic method. |
|
Date |
User |
Action |
Args |
2020-03-28 04:00:02 | xtreak | set | recipients:
+ xtreak, rbcollins, cjw296, r.david.murray, michael.foord, pconnell, Darragh Bailey, lisroach, anthonypjshaw, mariocj89, aviso, Amir |
2020-03-28 04:00:02 | xtreak | set | messageid: <1585368002.85.0.813588630332.issue39966@roundup.psfhosted.org> |
2020-03-28 04:00:02 | xtreak | link | issue39966 messages |
2020-03-28 04:00:02 | xtreak | create | |
|