◐ Shell
clean mode source ↗

Message 282903 - Python tracker

> 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.