Re: Exposing all methods of a class

2017-03-01 Thread Rick Johnson
On Wednesday, March 1, 2017 at 4:51:34 AM UTC-6, Terry Reedy wrote: > The class listing provided by the pydoc module browser, > also in help(someclass), do list all methods. Try > >>> import tkinter > >>> help(tkinter.Text) > for instance. > > On 2/28/2017 7:16 PM, Rick Johnson wrote: > > IDLE h

Re: Exposing all methods of a class

2017-03-01 Thread Steve D'Aprano
On Mon, 27 Feb 2017 07:15 am, Pete Dowdell wrote: > I use Python, mainly with Django, for work. I was wondering if anyone > has encountered an editor that could display a class with all inherited > methods included in the editor's view of the class code. Python 3.5 (if not earlier) can do most of

Re: Exposing all methods of a class

2017-03-01 Thread Tim Chase
On 2017-03-01 05:50, Terry Reedy wrote: > The class listing provided by the pydoc module browser, also in > help(someclass), do list all methods. Try > >>> import tkinter > >>> help(tkinter.Text) > for instance. I've been stung by opaque objects a couple times: 1) when the method comes from c

Re: Exposing all methods of a class

2017-03-01 Thread Terry Reedy
The class listing provided by the pydoc module browser, also in help(someclass), do list all methods. Try >>> import tkinter >>> help(tkinter.Text) for instance. On 2/28/2017 7:16 PM, Rick Johnson wrote: IDLE has a "class browser" feature (@GUI_XY = File-> Class_Browser) that displays a GUI t

Re: Exposing all methods of a class

2017-02-28 Thread Rick Johnson
On Sunday, February 26, 2017 at 2:15:58 PM UTC-6, Pete Dowdell wrote: > I use Python, mainly with Django, for work. I was wondering > if anyone has encountered an editor that could display a > class with all inherited methods included in the editor's > view of the class code. Personally, i'm a min

RE: Exposing all methods of a class

2017-02-28 Thread Deborah Swanson
Ethan Furman wrote, on February 28, 2017 8:23 AM > > On 02/26/2017 12:15 PM, Pete Dowdell wrote: > > > I was wondering if anyone has encountered an editor that > could display > > a class with all inherited methods included in the editor's view of > > the class code. > > I do not know of one,

Re: Exposing all methods of a class

2017-02-28 Thread Skip Montanaro
Might be worth checking out the speedbar package in GNU Emacs. I'm not sure if (or how) it might handle inheritance. Skip On Tue, Feb 28, 2017 at 10:23 AM, Ethan Furman wrote: > On 02/26/2017 12:15 PM, Pete Dowdell wrote: > >> I was wondering if anyone has encountered an editor that could displa

Re: Exposing all methods of a class

2017-02-28 Thread Ethan Furman
On 02/26/2017 12:15 PM, Pete Dowdell wrote: I was wondering if anyone has encountered an editor that could display a class with all inherited methods included in the editor's view of the class code. I do not know of one, but agree it would be quite useful! -- ~Ethan~ -- https://mail.python.o

Exposing all methods of a class

2017-02-26 Thread Pete Dowdell
I use Python, mainly with Django, for work. I was wondering if anyone has encountered an editor that could display a class with all inherited methods included in the editor's view of the class code. I am kind of envisaging the inherited code would be displayed differently (say, grey vs black),