This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [patch][python] Add symbol, symbol table and frame block support to GDB API


>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:

Tom> Yes, I think we should change it so that "print foo" or "str(foo)"
Tom> yields the "most natural" name.

Phil> Fixed here and other places regarding _str returns.

One last fix...

Phil> +static PyObject *
Phil> +sympy_str (PyObject *self)
Phil> +{

This function is the same as sympy_get_print_name.  So, remove the
latter and just make both methods point to the same implementation.
(IMO it is fine to have an explicit method doing the same thing as
str).

Ok with this change.  Thanks.

Tom


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