[Python-Dev] Use ptyhon -s as default shbang for system python executables/daemons

Barry Warsaw barry at python.org
Wed Mar 18 17:22:03 CET 2015


On Mar 18, 2015, at 03:46 PM, Orion Poplawski wrote:

>We're starting a discussion in Fedora about setting the default shbang for
>system python executables and/or daemons to python -s or python -Es (or ?).

We've talked about this in Debian/Ubuntu land and the general consensus is
that for Python 2, use -Es and for Python 3 use -I (which implies -Es).  I'm
not sure we're consistent yet in making sure our build tools install these
switches in our shebangs, but I'm hoping after Jessie we can make some
progress on that.

Cheers,
-Barry


More information about the Python-Dev mailing list