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 taleinat
Recipients Yury.Selivanov, brett.cannon, georg.brandl, jkloth, larry, pitrou, serhiy.storchaka, taleinat, vajrasky, zach.ware
Date 2014-01-22.14:39:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390401572.08.0.18573685471.issue20341@psf.upfronthosting.co.za>
In-reply-to
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.
History
Date User Action Args
2014-01-22 14:39:32taleinatsetrecipients: + taleinat, brett.cannon, georg.brandl, pitrou, larry, jkloth, Yury.Selivanov, zach.ware, serhiy.storchaka, vajrasky
2014-01-22 14:39:32taleinatsetmessageid: <1390401572.08.0.18573685471.issue20341@psf.upfronthosting.co.za>
2014-01-22 14:39:32taleinatlinkissue20341 messages
2014-01-22 14:39:31taleinatcreate