Article View: pl.comp.lang.python
Article #28042Re: Interpretowany czy kompilowany?
From: zbrodel
Date: Mon, 16 May 2011 17:12
Date: Mon, 16 May 2011 17:12
24 lines
1475 bytes
1475 bytes
On 16.05.2011 15:49, Rob Wolfe wrote:
> Nic podobnego. Tego typu proste bledy sa do wylapania uzywajac
> statycznej analizy bez zadnego problemu.
>
> $ cat test.py
> lst = []
> lst.keys()
> $ pylint -E test.py
> ************* Module test
> E: 2: Instance of 'list' has no 'keys' member
Takie teΕΌ?
def a(b):
print b.keys()
x = []
a(x)
Tyle w temacie statycznej analizy.
Pzdr
J.
Technical Details
Message-ID:
<iqrlte$rfe$1@news.onet.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!not-for-mailReferences:
<iqmlha$r29$1@news.onet.pl> <4dcee603$1$2437$65785112@news.neostrada.pl> <iqo0j1$g9u$1@news.onet.pl> <87boz3anea.fsf@smsnet.pl> <iqqk2o$oh7$1@news.onet.pl> <0601cb5b-befa-46ba-9d1c-f105c81369fe@r35g2000prj.googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!.POSTED!not-for-mail From: zbrodel@tlen.pl Newsgroups: pl.comp.lang.python Subject: Re: Interpretowany czy kompilowany? Date: Mon, 16 May 2011 19:12:13 +0200 Organization: http://onet.pl Lines: 24 Message-ID: <iqrlte$rfe$1@news.onet.pl> References: <iqmlha$r29$1@news.onet.pl> <4dcee603$1$2437$65785112@news.neostrada.pl> <iqo0j1$g9u$1@news.onet.pl> <87boz3anea.fsf@smsnet.pl> <iqqk2o$oh7$1@news.onet.pl> <0601cb5b-befa-46ba-9d1c-f105c81369fe@r35g2000prj.googlegroups.com> NNTP-Posting-Host: cnq77.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: news.onet.pl 1305565934 28142 83.31.170.77 (16 May 2011 17:12:14 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Mon, 16 May 2011 17:12:14 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 In-Reply-To: <0601cb5b-befa-46ba-9d1c-f105c81369fe@r35g2000prj.googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit