This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH] python3 support for /usr/bin/dtrace
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: David Smith <dsmith at redhat dot com>
- Cc: Nathan Scott <nathans at redhat dot com>, systemtap <systemtap at sourceware dot org>
- Date: Mon, 23 Feb 2015 14:11:24 -0500
- Subject: Re: [PATCH] python3 support for /usr/bin/dtrace
- Authentication-results: sourceware.org; auth=none
- References: <452908795 dot 11130378 dot 1424394762756 dot JavaMail dot zimbra at redhat dot com> <1605218776 dot 11202792 dot 1424408969495 dot JavaMail dot zimbra at redhat dot com> <y0mbnknhuq1 dot fsf at fche dot csb> <54EB54A5 dot 2010801 at redhat dot com>
> [...]
>> RHEL5 ships with python 2.4.*. Is there a solution that lets that
>> work too?
Yes, there is; a hack from http://python3porting.com/noconv.html makes
exception catching work on rhel5's python2.4 and python3. A new
commit does this, and a the dtrace.exp test case checks that the
python script runs fully on both python2 & python3.
- FChE