Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'essentially': 0.04; 'static': 0.04; 'cpython': 0.05; 'subject:Python': 0.06; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Why': 0.09; 'jan': 0.12; '(about': 0.16; 'detected': 0.16; 'hits.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'roy': 0.16; 'url:gmane': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'header:User-Agent:1': 0.23; 'subject:like': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'on,': 0.29; 'am,': 0.29; 'errors': 0.30; 'then.': 0.30; "i'm": 0.30; 'quite': 0.32; 'worked': 0.33; '(i.e.': 0.33; 'tool': 0.35; 'but': 0.35; 'really': 0.36; 'c++': 0.36; 'url:org': 0.36; 'should': 0.36; 'reports': 0.37; 'project': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'life,': 0.60; 'free': 0.61; 'received:173': 0.61; 'real': 0.63; 'decided': 0.64; 'our': 0.64; 'corporate': 0.67; 'smith': 0.68; 'analysis': 0.75; 'article': 0.77; 'url:search': 0.81; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Why Python is like C++ Date: Sat, 21 Dec 2013 19:20:30 -0500 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387671646 news.xs4all.nl 2833 [2001:888:2000:d::a6]:42979 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62519 On 12/21/2013 5:28 PM, Roy Smith wrote: > In article , > Terry Reedy wrote: > >> On 12/21/2013 10:10 AM, Roy Smith wrote: >> >>> On the last large C++ project I worked on, we decided (i.e. obeyed a >>> corporate mandate) to start using Coverity's static analysis tool on our >>> 15 year old codebase. I learned a few things about static analysis then. >> >> CPython was about that old when Coverity started giving us reports on >> the C part of CPython (about 400000 loc). CPython is now essentially >> free of errors detected by Coverity. > > How many of those errors were real, and how many were "I suppose, > technically, this isn't quite correct but in real life, it's just never > going to be an issue?" I'm not being cynical here; I'm interested to > know if it really helped. http://search.gmane.org/ search gmane.comp.python.devel for 'Coverity' and you should get some relevant hits. -- Terry Jan Reedy