I don't think so. As an example, what registry keys would Anaconda write to say that Release 5.2.1.7 is a pre-release version? Or would the py launcher have to parse the version looking for rc/a/b/... tags? And distributions would have to agree on how they record pre-release version numbers?
Paul On 7 February 2018 at 14:57, Alex Walters <[email protected]> wrote: > > >> -----Original Message----- >> From: Paul Moore [mailto:[email protected]] >> Sent: Wednesday, February 7, 2018 4:15 AM >> To: Alex Walters <[email protected]> >> Cc: Steve Barnes <[email protected]>; Python-Ideas <python- >> [email protected]> >> Subject: Re: [Python-ideas] Possible Enhancement to py Launcher - set >> default >> > ... >> >> IMO the biggest technical issue with this is that as far as I can see >> PEP 514 doesn't specify a way to determine if a given Python is a >> pre-release version. If we do want to implement this (I'm +0 on it, >> personally) then I think the starting point would need to be an update >> to PEP 514 to include that data. >> >> Paul > > Looking at pep 514, it looks like sys.winver is what would have to change to > support reporting the release status to the registry. I don't think 514 has > to change at all if sys.winver changes. Is that a correct interpretation? > _______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
