On Fri, 2019-07-19 at 18:46 -0400, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> > > Python 3 has deprecated PyBuffer_FromMemory() and instead has > PyMemoryView_FromMemory(). Add a helper function that uses the latter if > Python 3 is detected. As Python 2 is going to be EOL soon, we need to > support Python 3. > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204231 Reviewed-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> johannes