windows install put short path names to win register

Tim Peters tim.one at comcast.net
Sun Jun 2 18:00:04 EDT 2002


[Toni Gaya]
> Windows python 2.2.1 installation program puts short file names to
> some path values in windows register.
>
> This makes that programs that read python path or some other
> information as python path from windows register crash
> -i'm using NTFS (maybe with FAT32, due that FAT system works with
> short file names and long file names, works, but as NTFS only works
> with long file names, some other installation programs just crash)-.
> Examples: try to install mysqldb (mysql connection) or py2exe on
> windows with a NTFS disk, and these programs crash.
>
> I'm wrong?

Beats me.  If we put long names in the registry instead, then unbounded
numbers of newbies get even more confused than Microsoft does <0.3 wink>
about how to use those names successfully.

The Python installer deliberately defaults to installing Python under a path
with a pure DOS 8.3 name, and without embedded spaces.  The "long name" form
of such a path is identical to the "short name" form, so doesn't make
trouble for anything.  If you're seeing a difference, you must have
installed into a non-default location.  If you don't like the consequences,
don't do that.

most-problems-are-self-inflicted-ly y'rs  - tim






More information about the Python-list mailing list