Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I've come across a few cases, when pushing python's type annotations to their limits, that force you to put the type names in string quotes

With pep-0563, python3.7, and `from __future__ import annotations` this should no longer be necessary. Those are some pretty detailed caveats, but I have been using it in places where I can and it is so nice.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: