This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 vstinner
收信人 Arfrever, amaury.forgeotdarc, asvetlov, belopolsky, benjamin.peterson, brett.cannon, eric.araujo, georg.brandl, ncoghlan, pitrou, python-dev, r.david.murray, terry.reedy, vstinner
日期 2011-03-20.23:49:40
SpamBayes Score 0.00012964684
Marked as misclassified
Message-id <1300664981.88.0.777064262639.issue3080@psf.upfronthosting.co.za>
In-reply-to
内容
> 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.
历史
日期 用户 动作 参数
2011-03-20 23:49:41vstinner修改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:41vstinner修改messageid: <1300664981.88.0.777064262639.issue3080@psf.upfronthosting.co.za>
2011-03-20 23:49:40vstinner链接issue3080 messages
2011-03-20 23:49:40vstinner创建