Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76261 > unrolled thread

Optional static typing

Started bySteven D'Aprano <steve@pearwood.info>
First post2014-08-14 05:02 +0000
Last post2014-08-14 06:52 -0500
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Optional static typing Steven D'Aprano <steve@pearwood.info> - 2014-08-14 05:02 +0000
    Re: Optional static typing Skip Montanaro <skip@pobox.com> - 2014-08-14 06:52 -0500

#76261 — Optional static typing

FromSteven D'Aprano <steve@pearwood.info>
Date2014-08-14 05:02 +0000
SubjectOptional static typing
Message-ID<53ec42ca$0$11123$c3e8da3@news.astraweb.com>
The BDFL Guido van Rossum is considering optional static typing (ish) for 
Python 3.5:

https://mail.python.org/pipermail/python-ideas/2014-August/028618.html



Does anyone here use function annotations? If so, what do you use them 
for?


-- 
Steven

[toc] | [next] | [standalone]


#76295

FromSkip Montanaro <skip@pobox.com>
Date2014-08-14 06:52 -0500
Message-ID<mailman.12992.1408017140.18130.python-list@python.org>
In reply to#76261
On Thu, Aug 14, 2014 at 12:02 AM, Steven D'Aprano <steve@pearwood.info> wrote:
> Does anyone here use function annotations? If so, what do you use them
> for?

I've used them a little when converting Python to Cython, though I
readily admit that I have no idea if what Cython accepts as a type
declaration is compatible with whatever is being considered for 3.5.

Skip

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web