This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [python][rfc] Change gdb.Block to use attributes instead of getter methods.


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]