Author steve.dower
Recipients DieInSente, dstufft, loewis, steve.dower, venza, zach.ware
Date 2014-08-07.15:39:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407425974.04.0.761481206802.issue22028@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, on my machine I don't have embedded nulls in any of the values that enum_keys is looking for:

>>> import winreg
>>> hkcr=winreg.OpenKey(winreg.HKEY_CLASSES_ROOT, '')
>>> n = []
>>> i = 0
>>> while True:
...   try:
...     n.append(winreg.EnumKey(hkcr, i))
...   except EnvironmentError:
...     break
...   i += 1
...
>>> [x for x in n if '\0' in x]
[]
>>>
History
Date User Action Args
2014-08-07 15:39:34steve.dowersetrecipients: + steve.dower, loewis, zach.ware, dstufft, DieInSente, venza
2014-08-07 15:39:34steve.dowersetmessageid: <1407425974.04.0.761481206802.issue22028@psf.upfronthosting.co.za>
2014-08-07 15:39:34steve.dowerlinkissue22028 messages
2014-08-07 15:39:33steve.dowercreate