Message230665
| Author | rhettinger |
|---|---|
| Recipients | Jim.Jewett, Joshua.Chin, ethan.furman, pitrou, r.david.murray, rhettinger |
| Date | 2014-11-05.08:17:29 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1415175449.78.0.40548713049.issue22766@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> 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. |
|
| History | |||
|---|---|---|---|
| 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 | |