Re: [patch][python] Add symbol, symbol table and frame block support to GDB API

Tom Tromey
2010-02-24T17:22:17Z

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