Message282891
We don't *have* to use a converter function, no. But consider: someone somewhere will have to convert a PyObject * into a Py_ssize_t, also accepting None. Doing it in a converter function means we can easily share the code with bisect_right, which should presumably behave the same way. It also keeps all the argument parsing logic in the Argument Clinic domain instead of having some in AC and some in the implementation.
Is there some drawback to using a converter function? |
|
Date |
User |
Action |
Args |
2016-12-11 00:32:38 | larry | set | recipients:
+ larry, rhettinger, vstinner, skrah, martin.panter, serhiy.storchaka, mdk |
2016-12-11 00:32:38 | larry | set | messageid: <1481416358.18.0.625319887506.issue28754@psf.upfronthosting.co.za> |
2016-12-11 00:32:38 | larry | link | issue28754 messages |
2016-12-11 00:32:38 | larry | create | |
|