[New-bugs-announce] [issue14420] winreg SetValueEx DWord type incompatible with value argument

Bob report at bugs.python.org
Tue Mar 27 00:22:16 CEST 2012


New submission from Bob <r_sanford at 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 0x80000000 will result in the following exception:
OverflowError: Python int too large to convert to C long. For consistency with the Window's binding, it should support an unsigned long.

----------
components: Windows
messages: 156875
nosy: RoSanford
priority: normal
severity: normal
status: open
title: winreg SetValueEx DWord type incompatible with value argument
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14420>
_______________________________________


More information about the New-bugs-announce mailing list