Newbie: static typing?

Ian Kelly ian.g.kelly at gmail.com
Mon Aug 5 19:38:30 EDT 2013


On Mon, Aug 5, 2013 at 2:46 PM, Rui Maciel <rui.maciel at gmail.com> wrote:
> Is there any pythonic way to perform static typing?  After searching the web
> I've stumbled on a significant number of comments that appear to cover
> static typing as a proof of concept , but in the process I've found no
> tutorial on how to implement it.
>
> Does anyone care to enlighten a newbie?

Python 3 has support for function annotations, but it leaves it
entirely up to the user how they wish to use these annotations (if at
all).  In theory, a Python IDE could use function annotations to
perform static type checking, but I am not aware of any IDE that has
actually implemented this.



More information about the Python-list mailing list