From mboxrd@z Thu Jan 1 00:00:00 1970 From: jeremie.galarneau@efficios.com (=?ISO-8859-1?Q?J=E9r=E9mie_Galarneau?=) Date: Fri, 25 Jan 2013 16:03:12 +0000 Subject: [lttng-dev] [PATCH babeltrace 1/2] Add missing shebangs to Python examples. In-Reply-To: References: <1358898446-1622-1-git-send-email-jeremie.galarneau@efficios.com> <20130123144550.GA3952@Krystal> Message-ID: 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 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