loading...

re: A Failed Experiment with Python Type Annotations VIEW POST

FULL DISCUSSION
 

I'm not familiar with mypy, but the self-referential problem can be solved with PEP 563's

from __future__ import annotations

, which won't be needed in Python 4.

 

I will check this out, since it'd shift the balance in the favour of sticking with Python (my head is running towards C++, perhaps foolishly).

code of conduct - report abuse