<div dir="ltr">On Sun, 28 Jan 2018 at 11:15 Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi folks,<br>
<br>
In <a href="https://github.com/python/peps/issues/560" rel="noreferrer" target="_blank">https://github.com/python/peps/issues/560</a>, a user pointed out that<br>
the current definition of python_version in PEP 508 assumes<br>
single-digit major and minor version numbers:<br>
<br>
   platform.python_version()[:3]<br>
<br>
There's a reasonable chance we'll see 3.10 rather than 4.0 in a few<br>
years time, at which point that definition would break.<br>
<br>
The suggested fix is to amend that definition to be:<br>
<br>
    ".".join(platform.python_version_tuple()[:2])<br>
<br>
This seems like a good suggestion to me, so my inclination is to<br>
handle this in a similar way to<br>
<a href="https://www.python.org/dev/peps/pep-0440/#summary-of-changes-to-pep-440" rel="noreferrer" target="_blank">https://www.python.org/dev/peps/pep-0440/#summary-of-changes-to-pep-440</a>:<br>
fix it in place, and add a section at the end of the PEP listing the<br>
post-publication changes.<br>
<br>
Cheers,<br>
Nick.<br>
<br>
--<br>
Nick Coghlan   |   <a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>   |   Brisbane, Australia<br>
_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org" target="_blank">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a></blockquote><div><br></div><div>+1 from me too! :)</div><div><br></div></div></div>