<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 18 April 2017 at 09:44, Dmitry Rozhkov <span dir="ltr"><<a href="mailto:dmitry.rozhkov@linux.intel.com" target="_blank">dmitry.rozhkov@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div id="gmail-:mu" class="gmail-a3s gmail-aXjCH gmail-m15b803c4ca69fea5">I've just checked PEP-349. It recommends that<br>
<br>
"- The more general python command should be installed whenever any<br>
version of Python 2 is installed and should invoke the same version of<br>
Python as the python2 command (however, note that some distributions<br>
have already chosen to have python implement the python3 command; see<br>
the Rationale and Migration Notes below)."<br>
<br>
The proposed patch doesn't violate this recommendation, because<br>
"whenever" Python 2 is installed the python command still invokes<br>
python2.<br></div></blockquote></div><br>Only out of the box: you can install py2 and py3 and set the alternatives so that python is python3.</div><div class="gmail_extra"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span style="font-size:12.800000190734863px">If I understood correctly OE-core is not a distribution, but a tool to<br></span><span style="font-size:12.800000190734863px">create "a custom one". I would rather allow people to create<br></span><span style="font-size:12.800000190734863px">distributions where python3 is the default like in Arch Linux.</span></blockquote><div class="gmail_extra"><br></div><div class="gmail_extra">Personally I feel the PEP is an attempt to limit the damage caused by Arch ignoring the Python maintainers, and I'd prefer not to spread the impression that 'python' could be Python 3. Unless you code incredibly carefully it's not simple to have a script that doesn't care if it runs under Py2 or Py3.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>