A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-January/130988.html below:

[Python-Dev] Changing Clinic's output

[Python-Dev] Changing Clinic's outputMark Lawrence breamoreboy at yahoo.co.uk
Tue Jan 7 21:46:41 CET 2014
On 07/01/2014 19:53, 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?
>
> Regards
>
> Antoine.
>
>

Maybe overkill but why not follow 3 with 2 at the end of the file, the 
marker to be a very clear /* Generated by Argument Clinic - DO NOT EDIT 
BELOW THIS LINE */ or whatever wording is appropriate in this case.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4