Message131572
> 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. |
|
Date |
User |
Action |
Args |
2011-03-20 23:49:41 | vstinner | set | recipients:
+ 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:41 | vstinner | set | messageid: <1300664981.88.0.777064262639.issue3080@psf.upfronthosting.co.za> |
2011-03-20 23:49:40 | vstinner | link | issue3080 messages |
2011-03-20 23:49:40 | vstinner | create | |
|