This is the mail archive of the archer@sourceware.org mailing list for the Archer 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][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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]