Message 208813 - Python tracker

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.

Content
Another bug in the patch:

In int_converter.__init__ in clinic.py, the patch adds:

if not isinstance(self.default, int):
    fail("Illegal default value for int_converter")

This fails if no default is specified, e.g. for positional only argument. The condition should be:

if not (self.default is unspecified or isinstance(self.default, int)):

Ditto for Py_ssize_t_converter.