This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [python][patch] Preserve string length, and embedded-nulls in pretty-print string emission.
>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
>> Or are there other ideas out there?
Thiago> Without thinking too much about this (i.e. FWIW): perhaps having a new
Thiago> struct language method LA_CAN_PRINT_AS_STRING?
That seems like a lot of work for a case where we know we have a
Python string and we just want to print it using the language's string
printer.
Maybe we should just go back to having a special case in
pretty_print_one_value, but have it return a PyObject in the string
case.
Tom