Julien Palard added the comment: > It looks like you did it with a converter for 28754. That's okay. But not > in the default implementation.
It's not by default, we have to declare "… = None" in the AC declaration, which was an error before my patch (incompatible types…). Before: something: Py_ssize_t(c_default="-1") = None > Py_ssize_t_converter: default value None for field something is not of type int After: something: Py_ssize_t(c_default="-1") = None > If the None (default) value is provided, the c_default is untouched. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28933> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com