Message275284
Then there is a design question. I believe that after all we should expose these two new functions publicly. And the question is about function names and the order of arguments. Currently signatures are:
int _PySlice_Unpack(PyObject *r, Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
int _PySlice_EvalIndices(Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t step, Py_ssize_t length, Py_ssize_t *slicelength);
Are there suggestions for names? Perhaps the second functions should not have prefix PySlice_, since it doesn't work with slice object. |
|
Date |
User |
Action |
Args |
2016-09-09 08:04:22 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, mark.dickinson, ncoghlan, tehybel |
2016-09-09 08:04:22 | serhiy.storchaka | set | messageid: <1473408262.08.0.233627432388.issue27867@psf.upfronthosting.co.za> |
2016-09-09 08:04:22 | serhiy.storchaka | link | issue27867 messages |
2016-09-09 08:04:22 | serhiy.storchaka | create | |
|