diff options
author | Brian Curtin <brian@python.org> | 2012-12-27 18:28:51 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2012-12-27 18:28:51 (GMT) |
commit | 0e091b036503adc1c46022dbf974bb2f64ceed17 (patch) | |
tree | 2e47287764237b50e3f92654adc01c78dffc774d /Misc | |
parent | 4a5a4c28085910c6a40e40f01d763d55f5190e38 (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |