Message208813
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. |
|
Date |
User |
Action |
Args |
2014-01-22 14:39:32 | taleinat | set | recipients:
+ taleinat, brett.cannon, georg.brandl, pitrou, larry, jkloth, Yury.Selivanov, zach.ware, serhiy.storchaka, vajrasky |
2014-01-22 14:39:32 | taleinat | set | messageid: <1390401572.08.0.18573685471.issue20341@psf.upfronthosting.co.za> |
2014-01-22 14:39:32 | taleinat | link | issue20341 messages |
2014-01-22 14:39:31 | taleinat | create | |
|