[Python-3000] BOM handling

David Hopwood david.nospam.hopwood at blueyonder.co.uk
Fri Sep 15 02:00:19 CEST 2006


Paul Moore wrote:
> On 9/14/06, Josiah Carlson <jcarlson at uci.edu> wrote:
> 
>>So don't save it with a BOM and add a Python coding: directive to the
>>second line.  Python and bash comments just happen to have the same #
>>delimiter, and if your editor doesn't suck, then it should understand
>>such a directive.
> 
> However, vim and emacs use *different* coding directive formats.
> Python understands both, but (AFAIK) they don't understand each
> other's. So which editor sucks?

Both, obviously. It would not have been beyond the wit of those editor
developers to talk to each other, or to just unilaterally support the
other editor's format as well as their own.

-- 
David Hopwood <david.nospam.hopwood at blueyonder.co.uk>





More information about the Python-3000 mailing list