]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix #14420. Use PyLong_AsUnsignedLong to support the full range of DWORD.
authorBrian Curtin <brian@python.org>
Thu, 27 Dec 2012 16:12:45 +0000 (10:12 -0600)
committerBrian Curtin <brian@python.org>
Thu, 27 Dec 2012 16:12:45 +0000 (10:12 -0600)
commit12706f20825f78afa8305c1cbeb47900a790c21a
tree5dc796bba028f94b3072eb279602abdf54dc47b0
parente26568f81244e3fb62ab07fd0a3405a99ee87895
Fix #14420. Use PyLong_AsUnsignedLong to support the full range of DWORD.

This fixes an OverflowError seen in winreg.SetValueEx when passed
winreg.REG_DWORD values that should be supported by the underlying API.
Lib/test/test_winreg.py
Misc/NEWS
PC/winreg.c