[lttng-dev] [PATCH babeltrace 1/2] Add missing shebangs to Python examples.
Jérémie Galarneau
jeremie.galarneau at efficios.com
Fri Jan 25 11:03:12 EST 2013
Looks like this patch will require more work since it was decided we
only want to explicitly support Python3. I'll have to look into the
examples and see what can be ported and fixed. I'll also work on
having a more comprehensive test suite in preparation for an eventual
merge into master.
However, please note that the second patch from this series - [PATCH
babeltrace 2/2] Fix: Unified types expected by the Definition Python
interface. - will remain unchanged and should be pulled as it fixes a
bug that prevented the Python iterator tests from passing.
Regards,
Jérémie
On Wed, Jan 23, 2013 at 5:21 PM, Jérémie Galarneau
<jeremie.galarneau at gmail.com> wrote:
>> I would recommend using "#!/usr/bin/env python" so it will default to
>> the Python interpreter available on the machine. Take note that we
>> might have issues with Python 3 interpreters if the scripts are not
>> fully compliant.
>
> It does seem like some of the example scripts are not Python 3
> compatible. However, forcing the use of Python 2 on distros wich use
> Python 3 as the default interpreter is far from ideal... I'll see if I
> can make them version agnostic before resubmitting.
>
> Thanks,
> Jérémie
More information about the lttng-dev
mailing list