| commit | 2091de2221e9640b2816c7896ece7c6cb1a108b7 | [log] [tgz] |
|---|---|---|
| author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Fri Jul 19 18:46:16 2019 -0400 |
| committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Tue Jul 23 09:10:23 2019 -0400 |
| tree | 10353ab99bcbd726001ef48135d35397638ce4d3 | |
| parent | dbddc64834a7ab93a9ea47e0d2a8fb97185138ec [diff] |
trace-cmd: Use PyLong_AsLong() for Python 3 Python 3 has deprecated PyInt_AS_LONG. Add code to use PyLong_AsLong() 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 Link: http://lore.kernel.org/linux-trace-devel/20190719225030.507227790@goodmis.org Reported-by: Troy Engel <troyengel@gmail.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>