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 ways to specify which version linters to use.

I generally avoid shebangs where they aren't needed, and between entry points
and -m they rarely are these days.  I find most uses are in smaller one-off
scripts and such.

Cheers,
-Barry

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to