]> granicus.if.org Git - python/commit
Fix #14420. Check for PyLong as well as PyInt when converting in Py2Reg.
authorBrian Curtin <brian@python.org>
Thu, 27 Dec 2012 18:28:51 +0000 (12:28 -0600)
committerBrian Curtin <brian@python.org>
Thu, 27 Dec 2012 18:28:51 +0000 (12:28 -0600)
commit0e091b036503adc1c46022dbf974bb2f64ceed17
tree2e47287764237b50e3f92654adc01c78dffc774d
parent4a5a4c28085910c6a40e40f01d763d55f5190e38
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.
Lib/test/test_winreg.py
Misc/NEWS
PC/_winreg.c