Roundup Robot added the comment:
New changeset b9752b6c40f8 by Brian Curtin in branch '3.2':
Fix #14420. Use PyLong_AsUnsignedLong to support the full range of DWORD.
http://hg.python.org/cpython/rev/b9752b6c40f8
--
nosy: +python-dev
___
Python
Brian Curtin added the comment:
This is fixed on 3.2 through 3.4. On 2.7 we get a ValueError trying to do the
same thing so I'll create a separate issue for that since it involves fixing
more than just the change in Py2Reg.
--
resolution: - fixed
stage: patch review -
Roundup Robot added the comment:
New changeset ccbb16719540 by Brian Curtin in branch '2.7':
Fix #14420. Check for PyLong as well as PyInt when converting in Py2Reg.
http://hg.python.org/cpython/rev/ccbb16719540
--
___
Python tracker
Brian Curtin added the comment:
Never mind msg178303. The fix was roughly the same and in the same area, so now
we're covered on 2.7 as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14420
Brian Curtin added the comment:
Here is a patch for the first part (SetValueEx).
--
keywords: +needs review, patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file28412/issue14420_part1.diff
___
Python tracker
Tim Golden m...@timgolden.me.uk added the comment:
Brian - I think this is your area
--
nosy: +brian.curtin, tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14420
___
Changes by Brian Curtin br...@python.org:
--
assignee: - brian.curtin
components: +Extension Modules
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14420
___
Bob r_sanf...@verizon.net added the comment:
Likewise, the winreg.QueryValueEx method returns a signed 32 bit value, instead
of a 32 bit unsigned value.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14420
New submission from Bob r_sanf...@verizon.net:
When calling winreg.SetValueEx(key, value_name, reserved, type, value), the
value argument does not support the full range of a 32 bit unsigned integer,
which the Window's registry API is expecting. For example, passing a value
0x8000 will