[Reportbug-maint] Bug#484534: Bug#484534: reportbug: Possible solution

Sandro Tosi matrixhasu at gmail.com
Thu Jun 12 07:09:52 UTC 2008

On Thu, Jun 12, 2008 at 08:50, Ben Finney <ben at benfinney.id.au> wrote:
> It's true that one convention in the Python community is a shebang
> line of "#! /usr/bin/env python".
> However, the Debian Python Policy, §1.3.2
> <URL:file:///usr/share/doc/python/python-policy.txt.gz> specifically
> recommends against that practice.
>    1.3.2. Interpreter Location
>    ---------------------------
>         The preferred specification for the Python interpreter is
>         `/usr/bin/python' or `/usr/bin/python<X>.<Y>'.  This ensures that a
>         Debian installation of python is used and all dependencies on
>         additional python modules are met.
>         If a maintainer would like to provide the user with the possibility to
>         override the Debian Python interpreter, he may want to use
>         `/usr/bin/env python' or `/usr/bin/env python<X>.<Y>'.  However this
>         is not advisable as it bypasses Debian's dependency checking and makes
>         the package vulnerable to incomplete local installations of python.
> So I'd advise that the minimal change for this bug would be to have a
> standard Debian shebang line of "#! /usr/bin/python".

Fine, thanks for pointing it out.

Now, since you have svn commit access, please fix it.


Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the Reportbug-maint mailing list