On 12/01/2015 23:12, Andrew Koenig wrote:
Fixed it!

The aforementioned article is correct. I downloaded the RegDelNull
program mentioned in the article
(http://technet.microsoft.com/en-us/sysinternals/bb897448.aspx) and
ran it on hkcr, hkcu, hklm, hku, and hkcc (short for
HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS,
and HKEY_CURRENT_CONFIG), respectively. It deleted a bunch of keys.
Rerunning the program you posted earlier revealed no keys with
embedded nulls in their names, and ensurepip now works.

I have no idea how these keys got there. For all I know they are the
result of malware.

I think it would be worthwhile changing the Python code to detect
nulls and perhaps issue a warning that directs people to this article
or something like it.


Thanks, yes. Unfortunate that no-one's actually reported this before as a bug -- as far as I'm aware. Would you be in a position to report this at bugs.python.org? If not, I'll do it when I get a chance.

TJG
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to