future-typing
future-typing copied to clipboard
Backport for type hinting generics in standard collections and union types as X | Y
If I install this package in an environment where I have ftfy installed, when I try to import ftfy, I get the error message Exception: 'utf-8' codec can't decode byte...
Reading annotations with tons of `typing___.` before every single type might be quite distracting (they show up in tracebacks). Is this possible to import needed types into namespace instead?
Now all code in the file is getting reformatted (in non PEP-8 style), it would be great to: 1. Change only code that really getting changed (annotations) 2. Make formatting...
```py # -*- coding: future_typing -*- a = 1 | 2 ``` Is getting converted to ```py # -*- coding: utf-8 -*- import typing as typing___ a =typing___.Union [1 ,2...
When debugging line number is interpreted incorrectly. I guess it happens due to `import typing as typing___` line added to a file. I don't know how to fix this entirely,...