]> granicus.if.org Git - python/commit
Fix #16759. Convert DWORD registry values using unsigned long.
authorBrian Curtin <brian@python.org>
Thu, 27 Dec 2012 20:37:06 +0000 (14:37 -0600)
committerBrian Curtin <brian@python.org>
Thu, 27 Dec 2012 20:37:06 +0000 (14:37 -0600)
commit33e05e7905c00f601e4d1fea9ec0df0b3b9cb39c
tree929086c8cd2953a05aee4d5e7826ad301dc8631e
parenta0b7e9c74c36cadf2546612788795986dca64484
Fix #16759. Convert DWORD registry values using unsigned long.

When converting REG_DWORD registry values into Python, the conversion
needs to be made from an *unsigned* long (k instead of i) to match the
DWORD type.
Lib/test/test_winreg.py
Misc/NEWS
PC/_winreg.c