On Wednesday, April 17, 2013 06:30:26 PM Philipp A. wrote: > Is there already a repository for Jessie packages? if so, this could > be fixed there, then. Or can it be fixed in Wheezy? it’s a simple > symlink, after all.
No. We're two and a half weeks from release and far past the point where the release team would accept any non-critical changes. No matter how critical you think this is for Python, it's not critical for the release. > It’s sad that debian doesn’t follow this PEP: There is no simple way > to allow executing ./foobar.py on any system reliably if foobar.py > uses python 2: "#!/usr/bin/env python2" won’t work on debian and > "#!/usr/bin/python" won’t work on arch. This motivates python > developers to violate the PEP as well, too, since debian has more > users than archlinux (which *follows* that PEP). > > Debian essentially says “fuck python hashbangs that work on archlinux, > we rather force everyone to write bash wrappers if they want to > support every distro”. > > Those wrappers aren’t trivial, either; I think you have to do the > following or something like that: > > #!/bin/bash > python="$((which python2 || which python) | tail -1)" > "$python" foobar.py > > i hope you can understand my frustration with this issue now. First, the absence of /usr/bin/python2 is a valid bug. The fact that it's not present is an accident, but I think you are pointing your frustration in the wrong direction. PEP 394 was written AFTER Archlinux took the insane step of pointing /usr/bin/python at a python3 version. That is not something that upstream had ever intended or expected. PEP 394 was done to try and, eventually, undo the damage. In the mean time, the problem you are concerned about will exist until every single distribution that was shipped without /usr/bin/python2 is retired. This is a long term issue and in the scheme of the problem you are bothered about, one release on one distribution isn't that big of an issue. The version of python-defaults in Experimental does have /usr/bin/python2 and that is what's intended to be the bases of the Python system for Jesse. Scott K -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org