This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hakril
Recipients hakril, markgrandi, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-05-24.10:50:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464087004.92.0.652922573392.issue23026@psf.upfronthosting.co.za>
In-reply-to
Content
My comment was about the behavior of `winreg.QueryValueEx`. The current behavior is:

>>> import winreg
>>> tstkey = winreg.OpenKey(winreg.HKEY_CURRENT_USER, "TestKey")
>>> winreg.QueryValueEx(tstkey, "MYDWORD") # a REG_DWORD value
(16909060, 4)
>>> winreg.QueryValueEx(tstkey, "MYQWORD") # a REG_QWORD value
(b'\x08\x07\x06\x05\x04\x03\x02\x01', 11)

With this patch the new behavior would be:

>>> winreg.QueryValueEx(tstkey, "MYQWORD") # a REG_QWORD value
(72623859790382856, 11)

I agree that exposing REG_QWORD is a new feature.
History
Date User Action Args
2016-05-24 10:50:04hakrilsetrecipients: + hakril, paul.moore, tim.golden, zach.ware, markgrandi, steve.dower
2016-05-24 10:50:04hakrilsetmessageid: <1464087004.92.0.652922573392.issue23026@psf.upfronthosting.co.za>
2016-05-24 10:50:04hakrillinkissue23026 messages
2016-05-24 10:50:04hakrilcreate