Re: [PATCH 2/2] perf tools: Default to python version 2

2014-07-28 Thread Namhyung Kim
Hi Thomas, On Mon, 28 Jul 2014 13:11:05 +0200, Thomas Ilsche wrote: > Hi Namhyung, > I'm thinking about something like below.. but sadly it doesn't work for me.. hmm. >>> >>> Actually this appears to work for me (with 2.6.9 & 2.7.6) and I >>> find this solution more >>> elegant. >> >>

Re: [PATCH 2/2] perf tools: Default to python version 2

2014-07-28 Thread Thomas Ilsche
Hi Namhyung, >>> I'm thinking about something like below.. but sadly it doesn't work for >>> me.. hmm. >> >> Actually this appears to work for me (with 2.6.9 & 2.7.6) and I >> find this solution more >> elegant. > > Thanks for testing. It was my fault on setting symlink to a > non-existing file

Re: [PATCH 2/2] perf tools: Default to python version 2

2014-07-27 Thread Namhyung Kim
Hi Thomas, On Fri, 25 Jul 2014 13:43:24 +0200, Thomas Ilsche wrote: > Hi Namhyung, > > apologies for mixing up your first name earlier. It's okay, nevermind. :) > On 2014-07-25 12:24, Namhyung Kim wrote: >> On Fri, 25 Jul 2014 11:28:55 +0200, Thomas Ilsche wrote: >>> ifndef NO_LIBPYTHON >>> -

Re: [PATCH 2/2] perf tools: Default to python version 2

2014-07-25 Thread Thomas Ilsche
Hi Namhyung, apologies for mixing up your first name earlier. On 2014-07-25 12:24, Namhyung Kim wrote: > Hi Thomas, > > On Fri, 25 Jul 2014 11:28:55 +0200, Thomas Ilsche wrote: >> Hi Kim, >> >> On 2014-07-25 05:14, Namhyung Kim wrote: >>> According to PEP 394 recommendation [1], it's more portab

Re: [PATCH 2/2] perf tools: Default to python version 2

2014-07-25 Thread Namhyung Kim
Hi Thomas, On Fri, 25 Jul 2014 11:28:55 +0200, Thomas Ilsche wrote: > Hi Kim, > > On 2014-07-25 05:14, Namhyung Kim wrote: >> According to PEP 394 recommendation [1], it's more portable to use >> python2 rather than plain python to refer python binary version 2. > > I tried to find out how backwar

Re: [PATCH 2/2] perf tools: Default to python version 2

2014-07-25 Thread Thomas Ilsche
Hi Kim, On 2014-07-25 05:14, Namhyung Kim wrote: > According to PEP 394 recommendation [1], it's more portable to use > python2 rather than plain python to refer python binary version 2. I tried to find out how backwards-compatible this is. python2(-config) was first available in Python 2.7.3 (Ap