Message230665
> However, doing the check on 'other' and raising a TypeError
> with an appropriate message would still be better
Let's be clear. These are duck-typed methods. A type check is inappropriate. Anything with o.items() is allowed regardless of type.
Also, I generally won't approve changes to existing APIs without compelling real-world use cases to motivate the design change. Otherwise, you just create unnecessary churn and consternation. |
|
Date |
User |
Action |
Args |
2014-11-05 08:17:29 | rhettinger | set | recipients:
+ rhettinger, pitrou, r.david.murray, ethan.furman, Jim.Jewett, Joshua.Chin |
2014-11-05 08:17:29 | rhettinger | set | messageid: <1415175449.78.0.40548713049.issue22766@psf.upfronthosting.co.za> |
2014-11-05 08:17:29 | rhettinger | link | issue22766 messages |
2014-11-05 08:17:29 | rhettinger | create | |
|