> You could disassemble the byte-code or parse the Python source and then > do analysis, but I'm assuming you're not volunteering for that... :-) >
Not this week -- this is going to take a little bit longer. :) > Do mean providing a set of annotations for pure Python code, so that we > can read > > def f(x: cython.int) -> cython.int > > in a pure Python file (using the Cython shadow module), and understand it? > > If so, +1. > Yep, this is the obvious use case right now -- either simple functions (where we already can infer the type by analyzing the source code) or cases with explicit annotations. -cc _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
