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


Groups > comp.lang.python > #61963

Re: a Python Static Analyzer

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'static': 0.04; 'subject:Python': 0.06; 'indexing': 0.07; 'level,': 0.07; 'wang': 0.07; 'cvs': 0.09; 'dan': 0.09; 'decorator': 0.09; 'inserted': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'semantic': 0.09; 'python': 0.11; 'django': 0.11; 'language.': 0.14; 'chris,': 0.16; 'expected,': 0.16; 'fails.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'spacing': 0.16; 'utc,': 0.16; 'yin': 0.16; 'index': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'commit': 0.19; 'examples': 0.20; 'work,': 0.20; '>>>': 0.22; 'programming': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'url:moin': 0.24; 'cheers,': 0.24; 'looks': 0.24; "i've": 0.25; 'appreciated': 0.26; 'post': 0.26; 'gets': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; 'function': 0.29; 'chris': 0.29; 'dec': 0.30; 'along': 0.30; "i'm": 0.30; 'code': 0.31; 'lines': 0.31; 'url:wiki': 0.31; '2008,': 0.31; 'everywhere': 0.31; 'post.': 0.31; 'anyone': 0.31; 'languages': 0.32; 'url:python': 0.33; 'ago': 0.33; 'comment': 0.34; "can't": 0.35; 'december': 0.35; 'something': 0.35; 'but': 0.35; 'google': 0.35; '14,': 0.36; 'impression': 0.36; 'done': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'two': 0.37; 'awesome': 0.38; 'tools,': 0.38; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'does': 0.39; 'heard': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'even': 0.60; 'read': 0.60; 'above,': 0.60; 'referred': 0.60; "you'll": 0.62; 'email addr:gmail.com': 0.63; 'kind': 0.63; 'our': 0.64; 'more': 0.64; 'here': 0.66; 'between': 0.67; 'email,': 0.69; 'quality': 0.72; 'groups.': 0.74; 'analysis': 0.75; 'satisfied': 0.81; 'comparative': 0.84; 'rebert': 0.84; 'received:89': 0.85; 'do:': 0.91; 'url:comments': 0.91; 'whereas': 0.91; 'lot,': 0.93; '2013': 0.98
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: a Python Static Analyzer
Date Sun, 15 Dec 2013 21:00:25 +0000
References <6d2c938b-dd66-4de6-8422-aaa55fcc2e1e@googlegroups.com> <CAGGBd_rm9Woo+dTxdrp-60TDSQG9unWwAEjy15u-QEtr7+ycag@mail.gmail.com> <mailman.4133.1387075322.18130.python-list@python.org> <5efb51fe-6b07-4e03-83b4-5453d51d9310@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-89-240-169-122.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
In-Reply-To <5efb51fe-6b07-4e03-83b4-5453d51d9310@googlegroups.com>
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.4150.1387141242.18130.python-list@python.org> (permalink)
Lines 64
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1387141242 news.xs4all.nl 2891 [2001:888:2000:d::a6]:39454
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:61963

Show key headers only | View raw


On 15/12/2013 20:25, arie.lakeman@gmail.com wrote:
> On Sunday, 15 December 2013 02:36:56 UTC, Chris Rebert  wrote:
>> On Sat, Dec 14, 2013 at 5:31 PM, Dan Stromberg <drsalists@gmail.com> wrote:
>>
>>> Where does PySonar2 sit in the spectrum from pylint
>>
>>> (thorough/pedantic) to pyflakes (relaxed/few-false-positives)?
>>
>>>
>>
>>> I use pylint and pyflakes a lot, and I've heard that PyChecker sits in
>>
>>> between them on this axis.
>>
>>
>>
>> My impression is that PyChecker has been abandoned.
>>
>> The last commit in its SourceForge CVS repo is from 2008, and `pip
>>
>> install PyChecker` fails.
>>
>>
>>
>> Cheers,
>>
>> Chris
>
> Hi Chris,
>
> I can't comment on the comparative sophistication of PySonar2 to pylint and pyflakes, my experience of those two projects is as code quality tools, whereas I've been using PySonar2 for things along the lines of indexing code at a more semantic level, something I'm satisfied with.
>
> Here's a comment on a reddit post about PySonar a month ago
>
> http://www.reddit.com/comments/1piusr
>
> `
> Yin Wang is awesome and his work on programming languages and type inference is super impressive. We've been using his PySonar (v1) to build a global index of Python code and it works far better than we or anyone would have expected, for a dynamic language.
> Here are some examples of what PySonar can do:
> Finding everywhere a function is used
> Python stdlib, sorted by most-used functions
> All usages of the Django URL render_to_response function
> All usages of the Flask @app.route decorator
> This is all done using PySonar v1-based static analysis on Python code. PySonar v2 is even better.
> `
>
> I've referred Yin to this google group post.
>

Looks like very good work, thanks for the data.

But please note that I'm reading this via email, not google groups.  If 
you'd care to look above, you'll observe the double line spacing that 
gets inserted into everything that we see from gg, unless you read and 
action this https://wiki.python.org/moin/GoogleGroupsPython  If you'd be 
kind enough to do this it would be greatly appreciated by many people 
here.  TIA.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

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


Thread

a Python Static Analyzer arie.lakeman@gmail.com - 2013-12-14 16:35 -0800
  Re: a Python Static Analyzer Dan Stromberg <drsalists@gmail.com> - 2013-12-14 17:31 -0800
  Re: a Python Static Analyzer Chris Rebert <clp2@rebertia.com> - 2013-12-14 18:36 -0800
    Re: a Python Static Analyzer arie.lakeman@gmail.com - 2013-12-15 12:25 -0800
      Re: a Python Static Analyzer Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-15 21:00 +0000
  Re: a Python Static Analyzer Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-15 02:56 +0000

csiph-web