Message366546
But when would you want to have a descriptor as an instance attribute? Descriptors must be in the class dictionary to work:
https://docs.python.org/3/reference/datamodel.html#implementing-descriptors
I suppose, you could want some container class of descriptor objects, but that seems like an extremely narrow use-case, compared to the normal and common use-case of descriptors acting like descriptors. I think special-casing descriptors make sense because they act in a special way. |
|
Date |
User |
Action |
Args |
2020-04-15 20:00:22 | juanpa.arrivillaga | set | recipients:
+ juanpa.arrivillaga, eric.smith, Michael Robellard |
2020-04-15 20:00:22 | juanpa.arrivillaga | set | messageid: <1586980822.64.0.92954315773.issue39247@roundup.psfhosted.org> |
2020-04-15 20:00:22 | juanpa.arrivillaga | link | issue39247 messages |
2020-04-15 20:00:22 | juanpa.arrivillaga | create | |
|