[Python-Dev] Generate all Argument Clinic code into separate files
Brett Cannon
brett at python.org
Sat Feb 21 21:58:10 CET 2015
On Sat Feb 21 2015 at 1:50:32 PM Serhiy Storchaka <storchaka at gmail.com>
wrote:
> Currently for some files converted to use Argument Clinic the generated
> code is written into a separate file, for other files it is inlined.
>
> I'm going to make a number of small enhancement to Argument Clinic to
> generate faster code for parsing arguments (see for example issue23492).
> Every such step will produce large diffs for
> generated code and will create code churn if it is inlined and mixed up
> with handwritten code. It would be better when only generated files will
> be changed. So I suggest to move all inlined generated code in separate
> file. What are you think?
>
+1 to moving to a separate file for all .c files. Might be painful now but
the long-terms benefits are worth it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150221/029daf30/attachment.html>
More information about the Python-Dev
mailing list