[PATCH 4/7] [python] API for macros: Add methods to get a gdb.Macro.
Paul_Koning@Dell.com
Paul_Koning@Dell.com
Fri Sep 2 01:15:00 GMT 2011
>What would be preferred is an immutable list with a constant time append only exposed to the c api.
>but python doesn't really have one of these.
What about PyTuple_SetItem? It appends an item to a tuple; the description doesn't say if it's constant time, but given how it's meant to be used one would hope it is.
paul
More information about the Gdb-patches
mailing list