[PATCH v3 3/3] Port libstdc++ pretty-printers to Python 2 + Python 3

Tom Tromey tromey@redhat.com
Wed Jul 30 14:04:00 GMT 2014


>> I don't think this comment is applicable.
>> The libstdc++ pretty-printers use gdb.Value.lazy_string, not the
>> built-in Python types.

Samuel> Hmm, doesn't that just make it a timebomb -- a value that will
Samuel> explode if, at some point in the future, someone tries to treat
Samuel> it as a string?

I don't think so.
The results from the pretty-printer, when called from gdb, are generally
either printed or discarded.
In any case the comment still doesn't seem correct.

Tom



More information about the Libstdc++ mailing list