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


Groups > comp.lang.python > #54645

python IDE and function definition

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <cbf123@mail.usask.ca>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'dynamically': 0.07; 'definition,': 0.09; 'ide': 0.09; 'typed': 0.09; 'python': 0.11; 'def': 0.12; 'suggest': 0.14; "(i'm": 0.16; 'definition.': 0.16; 'highlight': 0.16; 'subject:python': 0.16; 'all,': 0.19; '(where': 0.19; 'seems': 0.21; 'header:User-Agent:1': 0.23; 'instance,': 0.24; 'this:': 0.26; '(for': 0.26; 'chris': 0.29; "i'm": 0.30; 'code': 0.31; 'context,': 0.31; 'class': 0.32; 'skip:c 30': 0.32; 'running': 0.33; "i'd": 0.34; 'could': 0.34; "can't": 0.35; 'skip:s 30': 0.35; 'definition': 0.35; 'there': 0.35; 'right?': 0.36; 'method': 0.36; 'possible': 0.36; 'too': 0.37; 'to:addr :python-list': 0.38; 'fact': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'up,': 0.60; 'received:unknown': 0.61; 'different': 0.65; 'potentially': 0.81; '"stop"': 0.84; 'presumably': 0.84
X-Cloudmark-SP-Filtered true
X-Cloudmark-SP-Result v=1.1 cv=sLQ7ia3Ln5IDt+Y/mGUbvgX/OJ9gzVIvbFxu84aEdjY= c=1 sm=2 a=7E2d2x4H2BEA:10 a=BLceEmwcHowA:10 a=8nJEP1OIZ-IA:10 a=I6INRO44BpvtCWdrcjYA:9 a=wPNLvfGTeEIA:10
Date Mon, 23 Sep 2013 09:06:35 -0600
From Chris Friesen <cbf123@mail.usask.ca>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version 1.0
To python-list@python.org
Subject python IDE and function definition
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
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.267.1379948867.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1379948867 news.xs4all.nl 15886 [2001:888:2000:d::a6]:51822
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54645

Show key headers only | View raw


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.

Chris

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


Thread

python IDE and function definition Chris Friesen <cbf123@mail.usask.ca> - 2013-09-23 09:06 -0600
  Re: python IDE and function definition Neil Hodgson <nhodgson@iinet.net.au> - 2013-09-24 09:20 +1000
    Re: python IDE and function definition Fabio Zadrozny <fabiofz@gmail.com> - 2013-09-24 07:54 -0300

csiph-web