diff options
author | Brian Curtin <brian@python.org> | 2012-12-27 16:12:45 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2012-12-27 16:12:45 (GMT) |
commit | 12706f20825f78afa8305c1cbeb47900a790c21a (patch) | |
tree | 5dc796bba028f94b3072eb279602abdf54dc47b0 /Misc | |
parent | e26568f81244e3fb62ab07fd0a3405a99ee87895 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |