[Python-Dev] Changing Clinic's output

Benjamin Peterson benjamin at python.org
Tue Jan 7 20:54:48 CET 2014


On Tue, Jan 7, 2014, at 11:53 AM, Antoine Pitrou wrote:
> 
> Hello,
> 
> Several core developers a bit unhappy with the way Argument Clinic
> currently scatters generated code into hand-written C modules. The
> opinion is that it makes C files more confusing and annoying to
> navigate through.
> 
> Several solutions have been proposed:
> - move all generated code to separate C files, which would then be
>   #included'd into the main module file

+1
I believe this is the "standard" solution for code generation. For
example, Qt's moc uses it.


More information about the Python-Dev mailing list