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
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