Re: Cython development
"Chris Mellon" <[email protected]>
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Mar 14, 2008 at 7:31 PM, Greg Ewing <[email protected]> wrote: > Stefan Behnel wrote: > > Then put a clear warning into the docs/FAQ: "the C files are generated, please > > ignore them when reading the source". > > Pyrex already puts a note at the top of the .c file > indicating that it was generated. I could perhaps > enhance it to include a warning against editing by > hand, although I think to most people it would be > fairly obvious from the appearance of the code that > you're not meant to do that! > > -- And really, as generated C source goes, Pyrex/Cython produce some of the easiest to read I've ever seen. The inclusion of the source (with line numbers and context!) for each chunk of the generated C code is great.