Larry Hastings added the comment:

1)
Wow.  I never knew about PyArg_UnpackTuple.  You're right, those should be 
converted too.  Hooray, more entry points to convert.

I'll write something up for the howto about UnpackTuple.

I just did a quick check, and there are 96 entry points (by my count) that use 
PyArg_UnpackTuple().  Shall I create Derby issues #19 and #20, or do you have a 
better idea?

2) For FUNC1 / 1A / 2 macros: right now you'd have to just copy and paste over 
and over.  There might be something you could do with a [python] block where 
you automatedly reuse the existing sigantures.  I was thinking about having 
Clinic support it directly, maybe with the syntax:

/*[clinic input]
func_name = existing_func_name

docstring goes here
[...]*/

You'd skip the parameters and the return annotation.  You could only reuse 
functions from the current file.  Would that be a big boon to you?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20186>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to