News for hackers. Stuff that matters.
Re:A Failed Experiment with Python Type Annotations by rcfox on Tuesday June 11, 2019 @05:25PM (#20159683)
For Python 3.7, you can do:

    from __future__ import annotations
This will defer the parsing of annotations until after the file has been parsed, allowing you to use the actual symbol instead of a string.
Re:A Failed Experiment with Python Type Annotations by anentropic on Wednesday June 12, 2019 @06:33AM (#20163251)
TIL!