[New-bugs-announce] [issue20294] Argument Clinic: add support for __init__

Serhiy Storchaka report at bugs.python.org
Sat Jan 18 12:43:26 CET 2014

New submission from Serhiy Storchaka:

Currently Argument Clinic doesn't support the __init__ methods, mainly because the C implementation of this method should return int, not PyObject *. In some cases it is possible to wrap a function generated by Argument Clinic (as in Modules/_pickle.c). But not always, because the __init__ method is called with the self, args, and kwargs arguments, while Argument Clinic can generate function without kwargs.

components: Demos and Tools
messages: 208395
nosy: larry, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Argument Clinic: add support for __init__
type: enhancement
versions: Python 3.4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list