You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/larryhastings'closed_at=<Date2014-10-13.09:41:09.132>created_at=<Date2014-10-11.22:31:33.446>labels= ['build']
title='Argument Clinic doesn\'t support the "type" argument for the int converter'updated_at=<Date2014-10-13.12:14:36.883>user='https://github.com/pitrou'
$ make clinic
./python -E ./Tools/clinic/clinic.py --make
Error in file "./Modules/arraymodule.c" on line 1943:
Exception raised during parsing:
Traceback (most recent call last):
File "./Tools/clinic/clinic.py", line 1626, in parse
parser.parse(block)
File "./Tools/clinic/clinic.py", line 3178, in parseself.state(line)
File "./Tools/clinic/clinic.py", line 3660, in state_parameter
converter = dict[name](c_name or parameter_name, parameter_name, self.function, value, **kwargs)
File "./Tools/clinic/clinic.py", line 2200, in __init__self.converter_init(**kwargs)
TypeError: converter_init() got an unexpected keyword argument 'type'make: *** [clinic] Erreur 255
Patch attached. Brett was using a feature that didn't exist, so I'm not sure how it could have worked for him. But it was a reasonable implicit feature request, and easy to implement, so here we are.
I'm not sure what's causing the churn in "bytesobject.c" here. It looks like someone changed the Clinic block in a way that it produces the same output, but didn't bother to run Clinic on it and check it in.
larryhastings
changed the title
"make clinic" doesn't work
Argument Clinic doesn't support the "type" argument for the int converter
Oct 13, 2014
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: