[Python-Dev] .clinic.c vs .c.clinic

Eric V. Smith eric at trueblade.com
Sat Jan 18 17:30:21 CET 2014


On 1/18/2014 11:24 AM, Stefan Krah wrote:
> Serhiy Storchaka <storchaka at gmail.com> wrote:
>> Now generated files have suffixes .clinic.c. I think it will be better, if they 
>> will end at special suffix (.c.clinic or even just .clinic).
> 
> Can the output not go into a header file with static inline functions?
> 
> I'd rather see memoryview.h than memoryview.clinic.c.

Same here. There's some history for this, but not for generated code. In
Objects/stringlib, all of the files are .h files. They're really C code
designed to be included by other .c files.

Eric.




More information about the Python-Dev mailing list