commit | 12706f20825f78afa8305c1cbeb47900a790c21a | [log] [tgz] |
---|---|---|
author | Brian Curtin <brian@python.org> | Thu Dec 27 10:12:45 2012 -0600 |
committer | Brian Curtin <brian@python.org> | Thu Dec 27 10:12:45 2012 -0600 |
tree | 5dc796bba028f94b3072eb279602abdf54dc47b0 | |
parent | e26568f81244e3fb62ab07fd0a3405a99ee87895 [diff] |
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.