4 ms·
Do type annotations really make any difference to the interpreter? I thought that the interpreter doesn't care about what type a variable is annotated to...
by hoschicz 9y ago
Do type annotations really make any difference to the interpreter? I thought that the interpreter doesn't care about what type a variable is annotated to...
- klibertp 9y agoCython compiles to native library exposing Python extensions API.
- deleted 9y ago[deleted]
- dragonwriter 9y ago> Do type annotations really make any difference to the interpreter? Note the advice was first use Cython (a compiler for a superset of Python), and then tweak as needed with type annotations. Cython’s compiler definitely uses type annotations.