[Python-ideas] Proposal to extend PEP 484 (gradual typing) to support Python 2.7
Steven D'Aprano
steve at pearwood.info
Mon Jan 11 20:39:11 EST 2016
On Mon, Jan 11, 2016 at 12:22:55PM -0800, Andrew Barnert via Python-ideas wrote:
> in a few months we're going to see
> Dropbox and Google and everyone else demanding a way to use type
> hinting without wasting memory on annotations are runtime in 3.x.
I would be happy to see a runtime switch similar to -O that drops
annotations in 3.x, similar to how -OO drops docstrings.
--
Steve
More information about the Python-ideas
mailing list