On Thu, Sep 1, 2016 at 10:22 AM, Petr Viktorin <pviktori(a)redhat.com> wrote:
Whatever we do, I'd like it to be coordinated across multiple
distrubutions, and blesed by a PEP like [PEP 394]. We don't want a solution
specific to Fedora.
Completely agree. Based on the suggestions offered in PEP 394, we would
need to add idle2 and pydoc2 symlinks in the python spec.
The PEP also reiterates that the focus is on the end-user and not on the
distribution packages. It's very clear that the shebang should be set
upstream to the level of specificity required.
I think the best way to serve the end-user is to manage /usr.bin/python
with alternatives, with slave entries for idle, pydoc, python-config, and
the python man page. This is compliant with the suggestions of the PEP and
gives control to the user. The symlinks should point to the major version
links/files as minor versions may introduce too many issues to address at
the moment.