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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1076>
__________________________________

Attachment: winreg.diff
Description: Binary data

_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to