[Python-Dev] Identifying magic prefix on Python files?
Tim Peters
tim.one@home.com
Sun, 4 Feb 2001 20:52:31 -0500
[Eric S. Raymond]
> \217 is good. It doesn't occur in /usr/share/magic at all, which
> is a good sign.
See? You should have more Windows geeks helping out with Linux: none of
our ideas have anything in common with yours <wink>.
> Why just PYT, though? Why not spell out "Python"?
Just because 8 seemed geekier than 11. Natural alignment for a struct, etc.
> That would let us detect case-smashing, too.
Hmm. "Pyt" would too! If you're going to PEP (or virtual PEP) this, I
won't raise a stink either way.