[Cython] Size of output

John Skaller2 skaller at internode.on.net
Sat Feb 1 10:41:11 EST 2020



> On 2 Feb 2020, at 02:23, Stefan Behnel <stefan_ml at behnel.de> wrote:
> 
> John Skaller2 schrieb am 01.02.20 um 15:32:
>> My problem is trying to read the generated code.
> 
> You might be looking for "cython -a".

OK. I see these:

~/felix>../cython/cython.py
usage: cython.py [-h] [-V] [-l] [-I INCLUDE_PATH] [-o OUTPUT_FILE] [-t] [-f]
                 [-v] [-p] [--cleanup GENERATE_CLEANUP_CODE] [-w WORKING_PATH]
                 [--gdb] [--gdb-outdir GDB_OUTDIR] [-D] [-a]
                 [--annotate-fullc]
                 [--annotate-coverage ANNOTATE_COVERAGE_XML]
                 [--line-directives] [-+] [--embed] [-2] [-3] [--3str]
                 [--lenient] [--capi-reexport-cincludes] [--fast-fail]
                 [-Werror] [-Wextra] [-X NAME=VALUE,...] [-E NAME=VALUE,...]
                 [sources [sources ...]]
cython.py: error: cython: Need at least one source file

What does -a do? I couldn’t find complete docs on the compiler switches
although some are explained in the user guide.

—
John Skaller
skaller at internode.on.net







More information about the cython-devel mailing list