[Cython] Size of output

John Skaller2 skaller at internode.on.net
Sat Feb 1 12:28:03 EST 2020



> On 2 Feb 2020, at 03:06, Prakhar Goel <newt0311 at gmail.com> wrote:
> 
> Isn't it? https://cython.readthedocs.io/en/latest/src/tutorial/cython_tutorial.html#primes:
> Jump down to the part where it has "annotate=True" and it describes it
> in some detail.
> 
> Also this takes all of thirty-seconds to try out and the result is
> pretty self explanatory.

Ah, I missed that. The options are documented. What’s missing is the heading.
The documentation is under “Jupyter Notebook”, whatever that is.  I may have skipped reading
that since I have no idea what it is.

After that there is a heading, Compiler Options, but that actually refers to options
set in setup.py rather than command line switches.

https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#Cython.Compiler.Options.annotate

In any case whilst useful it’s not really what I would have liked to see,
which is a file with just the “yellow” code in it, and no boilerplate.

Be good to suppress the refnanny stuff too. Is that possible?
That seems to be for debugging, yes?

—
John Skaller
skaller at internode.on.net







More information about the cython-devel mailing list