This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mdk
Recipients larry, mdk
Date 2016-12-11.05:12:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481433123.82.0.202068293493.issue28933@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2016-12-11 05:12:03mdksetrecipients: + mdk, larry
2016-12-11 05:12:03mdksetmessageid: <1481433123.82.0.202068293493.issue28933@psf.upfronthosting.co.za>
2016-12-11 05:12:03mdklinkissue28933 messages
2016-12-11 05:12:03mdkcreate