summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2012-12-27 18:28:51 (GMT)
committerBrian Curtin <brian@python.org>2012-12-27 18:28:51 (GMT)
commit0e091b036503adc1c46022dbf974bb2f64ceed17 (patch)
tree2e47287764237b50e3f92654adc01c78dffc774d /Misc
parent4a5a4c28085910c6a40e40f01d763d55f5190e38 (diff)
downloadcpython-0e091b036503adc1c46022dbf974bb2f64ceed17.zip
cpython-0e091b036503adc1c46022dbf974bb2f64ceed17.tar.gz
cpython-0e091b036503adc1c46022dbf974bb2f64ceed17.tar.bz2
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.
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 7642e60..ea9e6bf 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -9,6 +9,10 @@ What's New in Python 2.7.4
Core and Builtins
-----------------
+- Issue #14420: Support the full DWORD (unsigned long) range in Py2Reg
+ when passed a REG_DWORD value. Fixes ValueError in winreg.SetValueEx when
+ given a long.
+
- Issue #13863: Work around buggy 'fstat' implementation on Windows / NTFS that
lead to incorrect timestamps (off by one hour) being stored in .pyc files on
some systems.