Message133016
| Author |
rhettinger |
| Recipients |
daniel.urban, eric.smith, gruszczy, ncoghlan, python-dev, rhettinger, stutzbach, terry.reedy, vstinner |
| Date |
2011年04月05日.10:54:26 |
| SpamBayes Score |
0.0067706374 |
| Marked as misclassified |
No |
| Message-id |
<1302000867.8.0.992110848986.issue11707@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> functools_cmp_to_key() doesn't
> check that the argument is a callable.
I don't think that is necessary; it will fail with a TypeError when the attempt is made to call it. This is the approach we take elsewhere (look at the built-in filter() function for example).
That being said, if you really think the early check is necessary, feel free to check it in. |
|