|
|
|
|
|
by syastrov
1942 days ago
|
|
Not having worked with cython, the difference seems to be that cython requires using special types in its annotations as well as not supporting specializing the standard types
like ‘list’. Mypy aims to be compatible with the standard Python type annotations and still be able to optimize them. So in theory, you don’t need to modify your existing type-annotated program. In practice I believe there are limitations currently. |
|