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] Add "prototype" to docstrings of Frame-relatedfunctions and methods.


El lun, 02-03-2009 a las 09:13 -0700, Tom Tromey escribiÃ:
> >>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
> Thiago> A few functions and methods right now have a kind of prototype in the
> Thiago> docstring, which shows what arguments they expect (e.g., Value.string
> Thiago> and gdb.lookup_symbol). I think it would be helpful if all of the Python
> Thiago> API had them as well, so this patch adds them to the frame-related code.
> Thiago> I didn't push this yet. WDYT?
> 
> I think it is a nice idea.

Great. I just pushed the patch.

> Thiago> I suggest moving functions in the gdb module to the section to which
> Thiago> they relate, and keeping in Basic Python only functions which work in
> Thiago> isolation. WDYT?
> 
> Good idea, go for it.

Will do.
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center


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