This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [python][rfc] Change gdb.Block to use attributes instead of getter methods.
- From: Tom Tromey <tromey at redhat dot com>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: archer ml <archer at sourceware dot org>
- Date: Fri, 05 Dec 2008 16:05:18 -0700
- Subject: Re: [python][rfc] Change gdb.Block to use attributes instead of getter methods.
- References: <cover.1228508475.git.bauerman@br.ibm.com><1228513335.11550.179.camel@localhost.localdomain>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
Thiago> This patch changes all methods of gdb.Block to attributes,
Thiago> since they are very simple.
These renamings seem good to me.
Thiago> - { "itersymbols", blpy_itersymbols, METH_NOARGS,
Thiago> - "Return an iterator to walk through the symbols in the block." },
This probably should not be an attribute. And, you probably didn't
intend to remove it.
I think we want a different name for this. How about just "symbols"?
Tom