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


Groups > comp.lang.python > #91391

Re: Pep 484 Type Hint Checker - Python releases supported?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <zachary.ware@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'cpython': 0.05; 'annotations': 0.09; 'python': 0.11; 'thu,': 0.15; '3.0,': 0.16; 'module).': 0.16; 'pypi.': 0.16; 'to:name:python list': 0.16; 'wrote:': 0.16; 'sender:addr:gmail.com': 0.18; 'module,': 0.18; 'versions': 0.20; '2015': 0.23; 'third-party': 0.23; 'header:In-Reply-To:1': 0.24; 'supported': 0.27; 'checking': 0.27; 'message-id:@mail.gmail.com': 0.28; 'actual': 0.29; "i'm": 0.29; 'dan': 0.29; 'pep': 0.29; '(which': 0.29; 'subject:?': 0.34; 'received:google.com': 0.34; 'to:addr:python-list': 0.35; 'being': 0.36; 'there': 0.36; 'heard': 0.36; 'subject:: ': 0.37; 'pm,': 0.39; 'to:addr:python.org': 0.39; 'sure': 0.40; 'believe': 0.67; 'checker': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=4AiAPlwictssnZd9uqVWiuISEZc8H8yFs/ZF7YSN6mc=; b=jFn97kVKZzQAVXtrmXp6u1Ra8NqD0tYJKWWSdEFjaIhDl13lW8LwJ2+MDnRisfnK6K r9AyMZoyNPbWHM317N7kV1x0xaf5Z+O9F1ksl59HRg1fIdhRGXU1mj3HTpOBZv/JQvzY Olvsu60lvK+G20ZiLgUbL5q3m7J9z7/PwSnBXvLubOsbQglaAb4DS4cdLutAgFu7gr8k Yzyzngfj+hZEwx9TLmCJEZZSBUHsmJ7Gp08Lg1fFyQmVhw/csONT/3Aord10rj6E56Ji dg4UhTJuC9qTO1Ygqwqeyr+F2KfEQSG/OoV0mgPfNS6vWJ2YNq9hf176FhHOXHv3eJuc T/cw==
X-Received by 10.182.210.230 with SMTP id mx6mr4459095obc.64.1432850839732; Thu, 28 May 2015 15:07:19 -0700 (PDT)
MIME-Version 1.0
Sender zachary.ware@gmail.com
In-Reply-To <CAGGBd_pvXnpj0Hhz83TLEa+5fYriYn2jgMshE3jO8LeWsNmZMw@mail.gmail.com>
References <CAGGBd_pvXnpj0Hhz83TLEa+5fYriYn2jgMshE3jO8LeWsNmZMw@mail.gmail.com>
From Zachary Ware <zachary.ware+pylist@gmail.com>
Date Thu, 28 May 2015 17:06:59 -0500
X-Google-Sender-Auth qCibbm94T3oaovKAeGJ3Tl9QYDs
Subject Re: Pep 484 Type Hint Checker - Python releases supported?
To Python List <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.142.1432850843.5151.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1432850843 news.xs4all.nl 2863 [2001:888:2000:d::a6]:40866
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:91391

Show key headers only | View raw


On Thu, May 28, 2015 at 4:58 PM, Dan Stromberg <drsalists@gmail.com> wrote:
> I believe I heard that the PEP 484 type checker is to go into CPython 3.5.
>
> Since type annotations have been there since 3.0, is it at all likely
> that CPython versions < 3.5 will also be supported by this checker?

All that's going into 3.5 is the typing.py module, which will also be
distributed on PyPI.  The actual type checking is being left to
third-party tools like MyPy (which was the basis for the typing.py
module).

I'm not sure if there is any plan to ever include an actual type
checker with the base Python distribution.

-- 
Zach

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Pep 484 Type Hint Checker - Python releases supported? Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-05-28 17:06 -0500

csiph-web