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] Rename gdb.Frame getters.


>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:

Thiago> Frame properties don't change, but they are either non-trivial to
Thiago> compute (like name), or may trigger unwinding of other frames. I kept
Thiago> them all as methods. 

Ahh... I knew there was a case where removing "get" was a problem, but
I couldn't think of it the other day on irc.

Thiago> 	(frapy_get_next): Rename to ...
Thiago> 	(frapy_next): ... this.

The problem here is that "next" is the name used by iterators.
I'd rather we not clash with that.

Maybe "next_frame" and "previous_frame"?
Or even "newer_frame" and "older_frame"?
Or ... any suggestions?

Tom


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