Python → typed Cython

Select an example from the sidebar
Python input
mode:
an annotation is a proof, not a guess · every declaration is emitted only when py2cy has proved the type; anything unprovable is left as plain Python and listed in the refusal manifest.
▾Generated typed Cython
▾Proof / declarations
what the abstract interpreter proved, and the Cython type it assigned and the reason why.
▾Refusal manifest
the constructs py2cy will not annotate. The output stays plain Python.