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.
Phil> I decided to take a crack at the mechanics of this change this
Phil> morning. This produces the following hunks (in rough). I can see how
Phil> just borrowing the underlying data from the PyObject avoids an
Phil> allocation (the results of PyString_AsString must not be deallocated,
Phil> etc). Is this what you had in mind?
Yeah, something like that.
Tom
- References:
- [python][patch] Preserve string length, and embedded-nulls in pretty-printstring emission.
- Re: [python][patch] Preserve string length, and embedded-nulls in pretty-print string emission.
- Re: [python][patch] Preserve string length, and embedded-nulls inpretty-print string emission.
- Re: [python][patch] Preserve string length, and embedded-nulls in pretty-print string emission.
- Re: [python][patch] Preserve string length, and embedded-nulls inpretty-print string emission.
- Re: [python][patch] Preserve string length, and embedded-nulls inpretty-print string emission.
- From: Thiago Jung Bauermann
- Re: [python][patch] Preserve string length, and embedded-nulls in pretty-print string emission.
- Re: [python][patch] Preserve string length, and embedded-nulls inpretty-print string emission.
- Re: [python][patch] Preserve string length, and embedded-nulls in pretty-print string emission.
- Re: [python][patch] Preserve string length, and embedded-nulls inpretty-print string emission.
- Re: [python][patch] Preserve string length, and embedded-nulls inpretty-print string emission.