[Python-Dev] Identifying magic prefix on Python files?

Tim Peters tim.one@home.com
Mon, 5 Feb 2001 14:37:43 -0500


[M.-A. Lemburg]
> Side note: the magic can also change due to command line options
> being used, e.g. -U will bump the magic number by 1.

Note that this (-U) is the only such case.  Unless people are using private
Python variants and adding their own cmdline switches that fiddle the magic
number <yikes>.