This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: MemoryView missing from Python 2.4 and 2.6
"Wiederhake, Tim" <tim.wiederhake@intel.com> writes:
> ...
> 3) Use the "new style buffer API" and limit GDB's support to Python >= 2.6.
> In this case we would have to limit the supported Python versions anyway so
> on the one hand there is not much reason to not throw out 2.6 as well. On the
> other hand, there still seem to be some Python 2.6 users.
That makes sense.
> 4) Return a string in "gdb.BtraceInstruction.data ()". The instruction data can
> potentially contain null bytes which can cause issues for obvious reasons.
Python has no problem at all with null bytes in strings.
paul