Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54647
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fabiofz@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'dynamically': 0.07; 'matches': 0.07; 'definition,': 0.09; 'ide': 0.09; 'typed': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'def': 0.12; 'suggest': 0.14; "(i'm": 0.16; '23,': 0.16; 'cc:name:python list': 0.16; 'definition.': 0.16; 'fabio': 0.16; 'highlight': 0.16; 'url:html)': 0.16; 'url:pydev': 0.16; 'subject:python': 0.16; 'appropriate': 0.16; 'url:)': 0.16; 'wrote:': 0.18; 'all,': 0.19; '(where': 0.19; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'instance,': 0.24; '\xa0so': 0.24; 'mon,': 0.24; 'cheers,': 0.24; 'cc:2**0': 0.24; 'this:': 0.26; '(for': 0.26; 'header:In-Reply- To:1': 0.27; 'chris': 0.29; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'code': 0.31; 'context,': 0.31; 'directly,': 0.31; 'sep': 0.31; 'class': 0.32; 'skip:c 30': 0.32; 'url:python': 0.33; 'running': 0.33; "i'd": 0.34; 'could': 0.34; "can't": 0.35; 'skip:s 30': 0.35; 'definition': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'right?': 0.36; 'url:listinfo': 0.36; 'method': 0.36; 'shows': 0.36; 'possible': 0.36; 'url:org': 0.36; 'too': 0.37; 'list': 0.37; 'skip:& 10': 0.38; 'fact': 0.38; 'pm,': 0.38; 'rather': 0.38; 'url:mail': 0.40; 'up,': 0.60; 'most': 0.60; 'choose': 0.64; 'different': 0.65; 'potentially': 0.81; '"stop"': 0.84; 'presumably': 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=QoaUYBUKjJ6tVd8aTlpGMJvIM0qSVmCd7tKAvOAAgwo=; b=zXIJaoLB6+1/wPbT8V22RjP0tBM1x7fVItAYNQ1AibJfezfTzVUzvJ/4/1E/3++HZB TZMDROHXyPnblgjIe9le4OIsD6hzvSS6av7uYxHW37znMnqpQuQLIxFSW5gjLH3r3kes kjN8jT0sw2PSG+Hnvra3NZ57v72LNtWf6eKyY5A06OnSxt7gHO8nZ6Y2PuFv41UrVsW8 +7TrZfJIx9LJkvT7Ba2cdqmccEGDVcHOxRGjSgSFKZrDMv7KSiDDFlge3VWq2Z/98QYo 2lnJy8luAmfdgvbX7YScrjROX31KZ1v6grnnmFg5rqeyRNAYG6hXKXHEjuATKpJyEifI xksQ== |
| X-Received | by 10.221.27.73 with SMTP id rp9mr1084783vcb.29.1379950373063; Mon, 23 Sep 2013 08:32:53 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <524058FB.20005@mail.usask.ca> |
| References | <524058FB.20005@mail.usask.ca> |
| From | Fabio Zadrozny <fabiofz@gmail.com> |
| Date | Mon, 23 Sep 2013 12:32:32 -0300 |
| Subject | Re: python IDE and function definition |
| To | Chris Friesen <cbf123@mail.usask.ca> |
| Content-Type | multipart/alternative; boundary=001a11339706cb6cd004e70ebb3a |
| Cc | python list <python-list@python.org> |
| 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.270.1379950382.18130.python-list@python.org> (permalink) |
| Lines | 103 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1379950382 news.xs4all.nl 15963 [2001:888:2000:d::a6]:36854 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:54647 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Mon, Sep 23, 2013 at 12:06 PM, Chris Friesen <cbf123@mail.usask.ca>wrote: > > Hi all, > > I'm looking for a python IDE (for Linux) that can look at code like this: > > class ConductorManager(manager.**Manager): > def compute_recover(self, context, instance): > self.compute_api.stop(context, instance, do_cast=False) > > 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. > > The fact that python is dynamically typed seems to mean that there could > potentially be multiple answers, any class with a stop() method with the > right signature could presumably be plausible, right? So rather than give > up, I'd like to have my IDE suggest all possible answers. PyDev (http://pydev.org/) is able to do that (i.e.: if the find definition doesn't find it directly, it shows a list with possible matches for you to choose the most appropriate one: http://pydev.org/manual_adv_gotodef.html) -- additionally, you can also search for methods/classes/attributes directly: http://pydev.org/manual_adv_open_decl_quick.html Cheers, Fabio > > > Chris > -- > https://mail.python.org/**mailman/listinfo/python-list<https://mail.python.org/mailman/listinfo/python-list> >
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: python IDE and function definition Fabio Zadrozny <fabiofz@gmail.com> - 2013-09-23 12:32 -0300
csiph-web