Retrive unicode keys from the registry

"Martin v. Löwis" martin at
Sat Jan 17 00:08:21 CET 2004

Neil Hodgson wrote:

>    This is somewhat unpleasant, requiring runtime conditional code. For the
> Python standard library, in posixmodule.c, places where there is a need to
> branch first check that the OS is capable of wide calls with
> unicode_file_names(), then check if the argument is Unicode and if it is
> then it calls the wide system API. While the wide APIs do not work on 9x,
> they are present so the executable will still load.

I believe the story would be completely different for the registry: the
wide registry functions are available on all Windows versions, AFAIK.

Contributions are welcome.


More information about the Python-list mailing list