]> granicus.if.org Git - python/commit
Fix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong.
authorBrian Curtin <brian@python.org>
Thu, 27 Dec 2012 20:04:42 +0000 (14:04 -0600)
committerBrian Curtin <brian@python.org>
Thu, 27 Dec 2012 20:04:42 +0000 (14:04 -0600)
commit172e42295fa846bb253f698da10150906f723f52
tree0f5295694a80c6e3f70e8000983ecdadc5c5bc9a
parent12706f20825f78afa8305c1cbeb47900a790c21a
Fix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong.

When converting REG_DWORD registry values into Python ints, the conversion
needs to be made from an *unsigned* long to match the DWORD type.
Lib/test/test_winreg.py
Misc/NEWS
PC/winreg.c