Re: [Python-Dev] shebang policy, and pip

2014-10-08 Thread Barry Warsaw
On Oct 08, 2014, at 08:20 AM, Donald Stufft wrote: >Some editors can use shebang lines to control syntax highlighting or linting >(mine for example will lint different for python2 vs python3 shebangs). Some editors can also use `# -*- foo -*-` comments to set up editing modes and there are other

Re: [Python-Dev] shebang policy, and pip

2014-10-08 Thread Wes Turner
On Oct 8, 2014 7:20 AM, "Donald Stufft" wrote: > > > > On Oct 8, 2014, at 6:16 AM, Christian Tismer wrote: > > > > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA512 > > > > Howdy, > > > > this question is a bit about general policy which is not yet > > covered in the python recommendations:

Re: [Python-Dev] shebang policy, and pip

2014-10-08 Thread Christian Tismer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 08.10.14 14:20, Donald Stufft wrote: > >> On Oct 8, 2014, at 6:16 AM, Christian Tismer wrote: >> >> >> ... >> >> So is there anything officially preferred, and should that go into pep 8? > > Some editors can use shebang lines to control syntax

Re: [Python-Dev] shebang policy, and pip

2014-10-08 Thread Donald Stufft
> On Oct 8, 2014, at 3:36 PM, Wes Turner wrote: > > > On Oct 8, 2014 7:20 AM, "Donald Stufft" > wrote: > > > > > > > On Oct 8, 2014, at 6:16 AM, Christian Tismer > > > wrote: > > > > > > > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash:

Re: [Python-Dev] shebang policy, and pip

2014-10-08 Thread Donald Stufft
> On Oct 8, 2014, at 6:16 AM, Christian Tismer wrote: > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Howdy, > > this question is a bit about general policy which is not yet > covered in the python recommendations: > > I see projects which do check-ins like "get rid of shebang li

[Python-Dev] shebang policy, and pip

2014-10-08 Thread Christian Tismer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Howdy, this question is a bit about general policy which is not yet covered in the python recommendations: I see projects which do check-ins like "get rid of shebang lines" and they remove those lines from non-script sources. It is not always cle