Re: using inspect

2009-11-11 Thread Steven D'Aprano
On Wed, 11 Nov 2009 18:15:22 -0800, Ethan Furman wrote: > Greetings! > > How wise is it to base code on inspect? Specifically on things like > live frames on the stack and whatnot. It occurs to me that this is > leaning towards implementation details, and away from pure, pristine > Python. > >

Re: using inspect on pygtk

2007-10-01 Thread Chris Pax
On Oct 1, 12:53 pm, "BJörn Lindqvist" <[EMAIL PROTECTED]> wrote: > On 9/29/07, Chris Pax <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I recently been trying to use the inspect module to inspect the > > arguments of gtk objects, such as gtk.Button. I tried like this: > > > inspect.getargspec(gtk.Bu

Re: using inspect on pygtk

2007-10-01 Thread BJörn Lindqvist
On 9/29/07, Chris Pax <[EMAIL PROTECTED]> wrote: > Hello, > > I recently been trying to use the inspect module to inspect the > arguments of gtk objects, such as gtk.Button. I tried like this: > > inspect.getargspec(gtk.Button.__init__) > > and get the fallowing error: > > File "", line 1, in >

Re: using inspect on pygtk

2007-10-01 Thread Cousin Stanley
>> I recently been trying to use the inspect module >> to inspect the arguments of gtk objects, such as gtk.Button. >> > > does anybody have any idea? Chris You might try the following newsgroup on the Gmane server for Python / Gtk questions gmane.comp.gnome.gtk+.py

Re: using inspect on pygtk

2007-10-01 Thread Chris Pax
On Sep 28, 9:57 pm, Chris Pax <[EMAIL PROTECTED]> wrote: > Hello, > > I recently been trying to use the inspect module to inspect the > arguments of gtk objects, such as gtk.Button. I tried like this: > > inspect.getargspec(gtk.Button.__init__) > > and get the fallowing error: > > File "", line 1