[Python-Dev] 3.2.1 encoding surprise

Glenn Linderman v+python at g.nevcal.com
Tue Jul 19 00:05:14 CEST 2011


On 7/18/2011 2:13 PM, Vinay Sajip wrote:
> Remember that there are two sets of locations - HKCU and HKLM - where the type
> associations are potentially held. Please do a registry search (with
> Administrator rights so you can search the whole registry) for "py.exe" or
> "pyw.exe" and see if they show up anywhere at all. The launcher code tries to
> add these keys in HKEY_CLASSES_ROOT, but I believe Windows can map this to HKCU
> rather than HKLM if you don't have administrator access, at least on XP.

Oh, and I'm running Windows 7 64-bit, but most of my registry knowledge 
was learned on Win2K and XP, and I have no knowledge of what they did in 
Vista or 7, and haven't yet attempted to research such.

I am running as an administrator, but a much more ignorant one on 7 than 
I was on XP.

I have no idea why CMD would show an ftype Python.File as one thing, but 
then the execution would use something from the registry that is different.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110718/2dfa20f0/attachment.html>


More information about the Python-Dev mailing list