Re: [Python-Dev] Generate all Argument Clinic code into separate files

2015-02-22 Thread Serhiy Storchaka
On 22.02.15 05:03, Nick Coghlan wrote: On 22 February 2015 at 06:58, Brett Cannon wrote: +1 to moving to a separate file for all .c files. Might be painful now but the long-terms benefits are worth it. Yeah, agreed. Originally I was a fan of having everything inline so I could see them while

Re: [Python-Dev] Generate all Argument Clinic code into separate files

2015-02-21 Thread Nick Coghlan
On 22 February 2015 at 06:58, Brett Cannon wrote: > > > On Sat Feb 21 2015 at 1:50:32 PM Serhiy Storchaka > 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

Re: [Python-Dev] Generate all Argument Clinic code into separate files

2015-02-21 Thread Brett Cannon
On Sat Feb 21 2015 at 1:50:32 PM Serhiy Storchaka 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 cod

[Python-Dev] Generate all Argument Clinic code into separate files

2015-02-21 Thread Serhiy Storchaka
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