This is the mail archive of the 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: Python pretty-printing [3/6]

El lun, 06-04-2009 a las 17:26 -0600, Tom Tromey escribiÃ:
> >>>>> "Daniel" == Daniel Jacobowitz <> writes:
> Daniel> Anyway, I wonder if there shouldn't be an explicit lookup
> Daniel> routine instead.
> I like it ok the way it is.  But, if you really want it changed, I
> will do that; now is not a super time to do this, but it will only be
> harder in the future.  Thiago, what do you think?

I prefer to have a separate lookup routine. A gdb.lookup_type function
would be more consistent with the little API direction we already have
than a Type.lookup static method (I remember we discussed module
functions vs static methods in the past, I don't remember the outcome
though). Well, you asked what I thought. :-)

I don't want to inflict any pain on you, though. I don't feel strongly
about these choices. I wouldn't mind if you preferred to keep it like
this. Or if you preferred to implement Type.lookup.
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]