[New-bugs-announce] [issue1076] py3 patch: full Unicode version for winreg module

Amaury Forgeot d'Arc report at bugs.python.org
Fri Aug 31 23:42:59 CEST 2007


New submission from Amaury Forgeot d'Arc:

With this patch, the winreg module is now completely unicode: it only
uses Windows wide-char API functions, and all strings (keys, subkeys,
values) are passed untranslated. str8 is banned, and byte objects are
only allowed for raw binary data.

Note: It seems a good approach to use the wide-char Windows API whenever
possible. They fit very well with PyUnicode strings, and simplify the
code...

----------
components: Unicode
files: winreg.diff
messages: 55540
nosy: amaury.forgeotdarc
severity: normal
status: open
title: py3 patch: full Unicode version for winreg module
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1076>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winreg.diff
Type: application/octet-stream
Size: 21812 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20070831/a4068796/attachment-0001.obj 


More information about the New-bugs-announce mailing list