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


Groups > comp.lang.python > #67187

RE: Descriptor type hinting

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jcasale@activenetwerx.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.116
X-Spam-Level *
X-Spam-Evidence '*H*': 0.77; '*S*': 0.00; 'assignment': 0.07; 'received:172.18.0': 0.16; 'silly': 0.16; 'subject:type': 0.16; 'hey': 0.18; 'to:name:python-list@python.org': 0.22; 'header:Received:8': 0.24; 'header:In-Reply-To:1': 0.27; 'something': 0.35; 'add': 0.35; 'surely': 0.36; 'charset:us- ascii': 0.36; 'thanks': 0.36; 'list': 0.37; 'confirmed': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'tell': 0.60; 'received:unknown': 0.61; 'taking': 0.65; 'us,': 0.73; 'eyes': 0.78
X-Cloudmark-SP-Filtered true
X-Cloudmark-SP-Result v=1.1 cv=tLeJwtg1FCvAouMblIYY1Z5/U6XdMrtw4y2B9g+QINc= c=1 sm=1 a=7PYXob_7ZXMA:10 a=AgG5ixNBvo4A:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=9om3UeWmWdurM5eB1i4A:9 a=CjuIK1q_8ugA:10 a=r9O4x2ZBQbIA:10 a=GWWjb7cnrWkA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=activenetwerx.com; s=default; t=1393553814; bh=g0TD8fL5rYZQcFKmPAnmAsWpWcRy+9p/1hsclzAl5ZM=; h=From:To:Subject:Date:References:In-Reply-To; b=XwmfUXPEKOudSBJE3ajiceJwpJtGAOfDshU7CDGTOgfVyOkV8WVq1AgD6AmTL/1CB mpOvpLYijyoccwDmhC+8MOfBeuZDFWdboJN8jrMVETTuGwgYfQDuLSLQJkrjdHpYib 5YvW6ptCGOZrGkQS5KjgA/9kPwFJbQAB7axdgwaM=
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=activenetwerx.com; s=default; t=1393553814; bh=g0TD8fL5rYZQcFKmPAnmAsWpWcRy+9p/1hsclzAl5ZM=; h=From:To:Subject:Date:References:In-Reply-To; b=XwmfUXPEKOudSBJE3ajiceJwpJtGAOfDshU7CDGTOgfVyOkV8WVq1AgD6AmTL/1CB mpOvpLYijyoccwDmhC+8MOfBeuZDFWdboJN8jrMVETTuGwgYfQDuLSLQJkrjdHpYib 5YvW6ptCGOZrGkQS5KjgA/9kPwFJbQAB7axdgwaM=
X-Spam-Checker-Version SpamAssassin 3.3.1 (2010-03-16) on mail.activenetwerx.com
X-Spam-Level
X-Spam-Status No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.1
From "Joseph L. Casale" <jcasale@activenetwerx.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: Descriptor type hinting
Thread-Topic Descriptor type hinting
Thread-Index AQHPNCmRcPZj8cRJwkCd+Oiv3tCTSZrJ7Pgw
Date Fri, 28 Feb 2014 02:16:53 +0000
References <mailman.7447.1393539762.18130.python-list@python.org> <530feef0$0$11113$c3e8da3@news.astraweb.com>
In-Reply-To <530feef0$0$11113$c3e8da3@news.astraweb.com>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [172.18.0.201]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-Virus-Scanned ClamAV using ClamSMTP
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.7449.1393553884.18130.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1393553884 news.xs4all.nl 2905 [2001:888:2000:d::a6]:49381
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:67187

Show key headers only | View raw


> Surely the answer will depend on the linter you are using. Care to tell
> us, or shall we guess?

Hey Steven,
I am using PyCharm, I have to admit I feel silly on this one. I had a buried assignment
that overrode the inferred type. It wasn't until a fresh set of eyes confirmed something
was awry and we looked... Add one to the fail list for me.

Thanks for taking the time to respond,
jlc

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


Thread

Descriptor type hinting "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-02-27 22:21 +0000
  Re: Descriptor type hinting Steven D'Aprano <steve@pearwood.info> - 2014-02-28 02:05 +0000
    RE: Descriptor type hinting "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-02-28 02:16 +0000

csiph-web