Open pylint-bot opened 9 years ago
Original comment by Florian Bruhin (BitBucket: The-Compiler, GitHub: @The-Compiler?):
Also see https://bitbucket.org/logilab/astroid/issues/153/investigate-the-use-of-typingpy
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):
That's in our roadmap, but it will not happen very soon. There aren't many libraries (or code) which can use PEP 484 annotations, so it's not as urgent as it may seem.
Originally reported by: Anonymous
In the very least it would be nice to force type assertions on function arguments (i.e. this is definitely a string)
Would also be cool to support them in py2 via backports.typing or typing packages. The py2 version could even be nice enough to support multiple @annotations decorators for overloads as defined in https://www.python.org/dev/peps/pep-0484/#stub-files .