summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2012-12-27 16:12:45 (GMT)
committerBrian Curtin <brian@python.org>2012-12-27 16:12:45 (GMT)
commit12706f20825f78afa8305c1cbeb47900a790c21a (patch)
tree5dc796bba028f94b3072eb279602abdf54dc47b0 /Misc
parente26568f81244e3fb62ab07fd0a3405a99ee87895 (diff)
downloadcpython-12706f20825f78afa8305c1cbeb47900a790c21a.zip
cpython-12706f20825f78afa8305c1cbeb47900a790c21a.tar.gz
cpython-12706f20825f78afa8305c1cbeb47900a790c21a.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4514739..08d3e36 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 3.2.4
Core and Builtins
-----------------
+- Issue #14420: Support the full DWORD (unsigned long) range in Py2Reg
+ when passed a REG_DWORD value. Fixes OverflowError in winreg.SetValueEx.
+
- Issue #16602: When a weakref's target was part of a long deallocation
chain, the object could remain reachable through its weakref even though
its refcount had dropped to zero.