commit | 0e091b036503adc1c46022dbf974bb2f64ceed17 | [log] [tgz] |
---|---|---|
author | Brian Curtin <brian@python.org> | Thu Dec 27 12:28:51 2012 -0600 |
committer | Brian Curtin <brian@python.org> | Thu Dec 27 12:28:51 2012 -0600 |
tree | 2e47287764237b50e3f92654adc01c78dffc774d | |
parent | 4a5a4c28085910c6a40e40f01d763d55f5190e38 [diff] |
Fix #14420. Check for PyLong as well as PyInt when converting in Py2Reg. This fixes a ValueError seen in winreg.SetValueEx when passed long winreg.REG_DWORD values that should be supported by the underlying API.