summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2012-12-27 20:04:42 (GMT)
committerBrian Curtin <brian@python.org>2012-12-27 20:04:42 (GMT)
commit172e42295fa846bb253f698da10150906f723f52 (patch)
tree0f5295694a80c6e3f70e8000983ecdadc5c5bc9a /Misc
parent12706f20825f78afa8305c1cbeb47900a790c21a (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 08d3e36..bdf1094 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.