Author vstinner
Recipients Arfrever, amaury.forgeotdarc, asvetlov, belopolsky, benjamin.peterson, brett.cannon, eric.araujo, georg.brandl, ncoghlan, pitrou, python-dev, r.david.murray, terry.reedy, vstinner
Date 2011-03-20.23:49:40
SpamBayes Score 0.000129647
Marked as misclassified No
Message-id <1300664981.88.0.777064262639.issue3080@psf.upfronthosting.co.za>
In-reply-to
Content
> c) _PyImport_LoadDynamicModule() encodes the filename for
> _PyImport_GetDynLoadFunc(). The prototype should be changed,
> but only on Windows, to accept a filename as a Unicode string.

Hum, the difficult part is to use Unicode in _PyImport_GetDynLoadFunc() for:

hDLL = LoadLibraryEx(pathname, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);

There is a LoadLibraryW() function, but it doesn't have a flag argument. And I suppose that the LOAD_WITH_ALTERED_SEARCH_PATH option is important.
History
Date User Action Args
2011-03-20 23:49:41vstinnersetrecipients: + vstinner, brett.cannon, georg.brandl, terry.reedy, amaury.forgeotdarc, ncoghlan, belopolsky, pitrou, benjamin.peterson, eric.araujo, Arfrever, r.david.murray, asvetlov, python-dev
2011-03-20 23:49:41vstinnersetmessageid: <1300664981.88.0.777064262639.issue3080@psf.upfronthosting.co.za>
2011-03-20 23:49:40vstinnerlinkissue3080 messages
2011-03-20 23:49:40vstinnercreate