Message310253
To move this forward:
The proposal is to add support for a new method, _missing_name_, which is called by __getitem__.
If such a method does not exist, the normal AttributeError exception is raised;
otherwise, the _missing_name_ method is called with the invalid name and should return a matching member or None;
- if None, the normal AttributeError exception is raised
- if a member, it is returned
- otherwise, a Type(?)Error is raised |
|
Date |
User |
Action |
Args |
2018-01-18 19:28:25 | ethan.furman | set | recipients:
+ ethan.furman, barry, eli.bendersky, josh.r |
2018-01-18 19:28:25 | ethan.furman | set | messageid: <1516303705.12.0.467229070634.issue29752@psf.upfronthosting.co.za> |
2018-01-18 19:28:25 | ethan.furman | link | issue29752 messages |
2018-01-18 19:28:24 | ethan.furman | create | |
|