[Python-ideas] PEP draft: Unifying function/method classes

Jeroen Demeyer J.Demeyer at UGent.be
Sat Mar 31 15:21:42 EDT 2018


On 2018-03-31 21:12, Terry Reedy wrote:
> I would be all for more of the builtins and stdlib being converted.
> Can't 3rd-party C code use ArgumentClinic?

ArgumentClinic stores the signature as text. For default values, only a 
few specific classes are supported. I want to support arbitrary Python 
objects.

> Sourcefile is meaningless when there is no source file.

This is motivated by Cython, in which case there *is* a genuine and 
useful source file.


More information about the Python-ideas mailing list