This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients Alexandros Karypidis, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-12-10.13:23:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575984207.84.0.247756776035.issue38999@roundup.psfhosted.org>
In-reply-to
Content
I don't think the "/usr/bin/env" case needs to limit qualified names like "python3[.x]" to registered installations. This is a choice made to simplify the implementation. If it finds a generic "python.exe" executable in PATH, for 3.5+ it is possible to query version information directly from it. Older versions lack this metadata, but it's also possible to inspect the PE import table (i.e. IMAGE_DIRECTORY_ENTRY_IMPORT) for a dependency on "python2x.dll" or "python3x.dll".
History
Date User Action Args
2019-12-10 13:23:27eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, Alexandros Karypidis
2019-12-10 13:23:27eryksunsetmessageid: <1575984207.84.0.247756776035.issue38999@roundup.psfhosted.org>
2019-12-10 13:23:27eryksunlinkissue38999 messages
2019-12-10 13:23:27eryksuncreate