Bools and explicitness [was Re: PyWart: The problem with "print"]

Ian Kelly ian.g.kelly at gmail.com
Thu Jun 6 02:06:20 EDT 2013


On Wed, Jun 5, 2013 at 10:25 PM, Russ P. <Russ.Paielli at gmail.com> wrote:
> I recall reading a few years ago that Guido was thinking about adding optional type annotations. I don't know if that went anywhere or not, but I thought it was a good idea. Eventually I got tired of waiting, and I realized that I just wanted a statically typed language, so I started using one.

Python 3 has support for arbitrary function argument annotations.  The
language itself ascribes no special meaning to it, so it's up to the
user to add a type-checker (or whatever else they might want to use it
for).



More information about the Python-list mailing list