Postponed annotations in 3.6

Does anyone know of any packages or other ways to achieve PEP 563 (postponed evaluation of annotations) in Python 3.6?

Some sort of a backport?

There isn’t a way to backport PEP 563 as it’s syntactic. Best you can do is write all your type annotations as strings to begin with.

1 Like

I had a feeling that would be the answer. Thanks for the reply, and of course all your hard work on Python.

1 Like