[Python-Dev] Changing Clinic's output
Antoine Pitrou
solipsis at pitrou.net
Tue Jan 7 20:53:08 CET 2014
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
- gather all generated code to a single place in the C module file, for
example near the end (Larry's "accumulator" idea)
- prefix all Clinic-generated lines with a recognizable marker, e.g.
"/* AC */"
What do you think?
Regards
Antoine.
More information about the Python-Dev
mailing list