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: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Nathan Scott <nathans at redhat dot com>
- Cc: systemtap <systemtap at sourceware dot org>
- Date: Sun, 22 Feb 2015 19:47: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> <1486071395 dot 12783244 dot 1424648665664 dot JavaMail dot zimbra at redhat dot com> <20150222235002 dot GC7614 at redhat dot com> <1247120572 dot 12790753 dot 1424652297160 dot JavaMail dot zimbra at redhat dot com>
Hi -
> The only distro I know of that has switched completely is:
> https://www.archlinux.org/news/python-is-now-python-3/
Right.
> But others (like f23) plan to have the option of having only
> python3 installed, by default.
Yeah, that's different though (/usr/bin/python3 installed, not
/usr/bin/python redirected).
> And of course, its alot less patching if everything except the
> hashbang line of the script supports both major versions (which is
> what we'll be doing in PCP for the time being, FWLIW).
Understood. If there were no downside (compatibility down to
older supported OS's like RHEL5), there's be no problem.
> *shrug* - do with the patch as you see fit; just figured I'd
> share the problem & one potential fix you could use.
Another fix to the archlinux problem is to "#! /usr/bin/python2".
- FChE