Project

General

Profile

Idea #23144

Start introducing Python type annotation

Added by Marco Mambelli 3 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
Start date:
08/20/2019
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

Description

Python type annotation is available in Python3
It has been ported as a comment in Python 2.7
We should start adopting within the project, at least in function declarations

Definitely in branch_v3_7 but also in master, using comments notation for python 2.7:
https://www.python.org/dev/peps/pep-0484/
https://docs.python.org/3/library/typing.html
https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html

Some advantages:

History

#1 Updated by Marco Mambelli 3 months ago

  • Description updated (diff)

#2 Updated by Marco Mambelli about 1 month ago

  • Target version changed from v3_5_x to v3_6_x


Also available in: Atom PDF