On 25 October 2012 20:34, Piotr Ożarowski <pi...@debian.org> wrote: > [Steve Langasek, 2012-10-25] >> On Thu, Oct 25, 2012 at 10:56:05AM -0400, Barry Warsaw wrote: >> > Using -E fixed the immediate bug, but I think it is generally useful to >> > include -s also, so as to avoid any potential breakage of system scripts by >> > things users may have added locally. >> >> If there's consensus that this should be dealt with in the packages, best >> would be to update the tooling (IIRC dh_python* already have some support >> for shebang rewrites?) and add a lintian warning, foregoing any mass bug >> filing. > > dh_python2 --shebang '/usr/bin/python -Es' > dh_python3 --shebang '/usr/bin/python3 -Es' > > should do the trick. I don't think adding -Es by default is a good idea > (although it's very tempting).
Several people have said they don't think this is a good idea. But why not? There is a bad effect if you don't rewrite the shebang to "/usr/bin/python[3] -ES" that we know of, but is there any example of where such a shebang line would cause trouble that warrants not doing this by default? Regards, Floris -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAAWk_Dy4yXr4Xvksw7V6Sc-SYg+3mBZroCqDXnoq1kNF=yu...@mail.gmail.com