[Python-Dev] Reading Python source file (original) (raw)
Random832 random832 at fastmail.com
Mon Nov 16 23:09:51 EST 2015
- Previous message (by thread): [Python-Dev] Reading Python source file
- Next message (by thread): [Python-Dev] Reading Python source file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
MRAB <python at mrabarnett.plus.com> writes:
As I understand it, *nix expects the shebang to be b'#!', which means that the first line should be ASCII-compatible (it's possible that the UTF-8 BOM might be present).
The UTF-8 BOM interferes with it on Mac OSX and Linux, at least.
- Previous message (by thread): [Python-Dev] Reading Python source file
- Next message (by thread): [Python-Dev] Reading Python source file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]