[issue20185] Derby #17: Convert 49 sites to Argument Clinic across 13 files

Serhiy Storchaka report at bugs.python.org
Wed Jan 22 11:13:59 CET 2014


Serhiy Storchaka added the comment:

1. In list.index use custom converter.

/*[python input]

class slice_index_converter(CConverter):
    type = 'Py_ssize_t'
    converter = '_PyEval_SliceIndex'

[python start generated code]*/

2. In list.__init__ use either "unspecified" default value or optional group without default value.

3. This looks as Argument Clinic bug.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20185>
_______________________________________


More information about the Python-bugs-list mailing list