On Wed, Mar 30, 2016 at 06:05:00PM +0000, Joseph Myers wrote:
> On Sun, 27 Mar 2016, Andi Kleen wrote:
> 
> > 2016-03-27  Andi Kleen  <a...@linux.intel.com>
> > 
> >     * gen_autofdo_event.py: New file to regenerate
> >     gcc-auto-profile.
> 
> It may not be required in contrib, but does this script work with both 
> Python 2 and Python 3?  (New code that only works with Python 2 seems like 
> a bad idea nowadays, with GNU/Linux distributions moving to having only 
> Python 3 in a default install.)

Currently it's python 2. It could be run through the conversion tool,
but then you would lose older distributions which don't have 2.7.
As I understand the newer distributions always have options to install 2.7.

-andi
-- 
a...@linux.intel.com -- Speaking for myself only

Reply via email to