On 06/28/19 10:46, mcatanz...@gnome.org wrote: > > On Fri, Jun 28, 2019 at 10:42 AM, mcatanz...@gnome.org wrote: >> If Fedora has /usr/bin/python, then at least we have a *chance* to make the >> scripts we care about work in both python2 and python3 (our current plan). >> Whereas without /usr/bin/python, we're really out of options. So I very much >> support /usr/bin/python -> /usr/bin/python3. It will cause some problems for >> us and we'll have a difficult transition period, but at least there will >> exist the possibility of transitioning. > > Accidentally hit send too soon. I meant to add: /usr/bin/python -> > /usr/bin/python3 is better than all available alternatives. It's the only way > that /usr/bin/python remains in Fedora pointing to a supported python > interpreter. And that is the only chance that cross-platform python scripts > have to work without pain and suffering (beyond that of making the script > work with both python2 and python3). We're not python developers and just > want to run some python scripts; wrapping up all our python inside e.g. bash > scripts that start a virtualenv would be a sad end to this tale.
Thank you. I work on multiple platforms so I make my utility scripts work on both Python 2 and 3 and only use the standard library. It would be super annoying if I had to have multiple versions just because of the shebang line. -- Mátyás (Mat) Selmeci Open Science Grid Software Team / Center for High-Throughput Computing University of Wisconsin-Madison Department of Computer Sciences _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org