The "loop and a half"

Gregory Ewing greg.ewing at canterbury.ac.nz
Sun Oct 8 08:53:09 EDT 2017


Peter J. Holzer wrote:
> In any case, that -E writes to stdout and -S to file is an inconsistency
> which looks more like a historical accident than a planned feature to
> me.

A possible reason is that with -S there is an obvious choice
for the output file name, i.e. <inputfile>.s, but there is
no conventional way of naming a preprocessed C source file,
so it's best to make the user specify it.

-- 
Greg



More information about the Python-list mailing list