On 01/07/2014 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

- 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?

For what it's worth, I don't have a strong opinion about it. I had the first one (separate files) working at one point, as as memory serves Guido he didn't like that approach and I should remove the feature. I'm happy for Argument Clinic to do any/all/none of the above.


//arry/
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to