Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'context': 0.07; 'definition,': 0.09; 'ide': 0.09; 'cc:addr:python-list': 0.11; "(i'm": 0.16; '23,': 0.16; 'cc:name:python list': 0.16; 'definition.': 0.16; 'docstrings': 0.16; 'fabio': 0.16; 'highlight': 0.16; 'ides': 0.16; 'url:html)': 0.16; 'url:pydev': 0.16; 'wing': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; '(where': 0.19; 'cc:addr:python.org': 0.22; 'skip:e 30': 0.24; 'mon,': 0.24; 'cheers,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'assert': 0.31; 'sep': 0.31; 'running': 0.33; 'could': 0.34; "can't": 0.35; 'definition': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'too': 0.37; 'skip:& 10': 0.38; 'pm,': 0.38; 'different': 0.65; '"stop"': 0.84; 'url:edit': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=OrFaN1jcw0JVgsxFJNsNVFTVsMSROdIEWJWjl/+NLFE=; b=LWDpD02UnVfutqc+ZZiw2LrMV4l47ratKnT6lTEzRtsaWD/5Mh6s/kfXRLlTNJgIZ9 3N5nth6aYa0gaXFVyUxaRTVgwUBubIWTo8dLgd6E67msJp8m5OBK27bJ56awDLhHz5zk KCKtgnZp/Lby0Bjw1OPpFtaMpO7Z5vN6sYCg+fZLXAda0U8tU4e1/KKTFY8HomDNWxZe JGdn7ne4QGlYNsh+kj7rasMrPAHci7tRTkUbG9xHDMrxd9U8fHC7zk0fXwp7X4VRKPtg rPpL4eLPfTh6LhGC/u9EcbHDFx91YE2LIg4q7ytT/57kbqSp4QEuENjS/6ZLBOLIJjFF o0cw== X-Received: by 10.220.13.20 with SMTP id z20mr27070755vcz.0.1380020093799; Tue, 24 Sep 2013 03:54:53 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Fabio Zadrozny Date: Tue, 24 Sep 2013 07:54:33 -0300 Subject: Re: python IDE and function definition To: Neil Hodgson Content-Type: multipart/alternative; boundary=001a11c3ec7079521c04e71ef791 Cc: python list 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: 68 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380020096 news.xs4all.nl 15992 [2001:888:2000:d::a6]:40546 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54686 --001a11c3ec7079521c04e71ef791 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Sep 23, 2013 at 8:20 PM, Neil Hodgson wrote: > Chris Friesen: > > > where I could highlight the "stop" and ask it to go to the definition. >> (Where the definition is in a different file.) >> >> I'm running into issues where my current IDE (I'm playing with Komodo) >> can't seem to locate the definition, I suspect because it's too ambiguous. >> > > Some IDEs allow you to help them understand the context by adding type > information. Here's some documentation for Wing IDE that uses an isinstance > assertion: > http://www.wingware.com/doc/**edit/helping-wing-analyze-code Just to note, PyDev can also use the assert isinstance as well as docstrings (http://pydev.org/manual_adv_type_hints.html) for type hinting. Cheers, Fabio --001a11c3ec7079521c04e71ef791 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable