diff options
author | Brian Curtin <brian@python.org> | 2012-12-27 20:04:42 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2012-12-27 20:04:42 (GMT) |
commit | 172e42295fa846bb253f698da10150906f723f52 (patch) | |
tree | 0f5295694a80c6e3f70e8000983ecdadc5c5bc9a /Misc | |
parent | 12706f20825f78afa8305c1cbeb47900a790c21a (diff) | |
download | cpython-172e42295fa846bb253f698da10150906f723f52.zip cpython-172e42295fa846bb253f698da10150906f723f52.tar.gz cpython-172e42295fa846bb253f698da10150906f723f52.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,10 @@ What's New in Python 3.2.4 Core and Builtins ----------------- +- Issue #16759: Support the full DWORD (unsigned long) range in Reg2Py + when retreiving a REG_DWORD value. This corrects functions like + winreg.QueryValueEx that may have been returning truncated values. + - Issue #14420: Support the full DWORD (unsigned long) range in Py2Reg when passed a REG_DWORD value. Fixes OverflowError in winreg.SetValueEx. |