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.

classification
标题: 'import' operator doesn't work with unicode non 7-bit ASCII module names (OS: windows)
类型: behavior Stage:
Components: Interpreter Core, Unicode Versions: Python 3.1, Python 3.2
process
状态: closed Resolution: duplicate
Dependencies: 后续: Rewrite import machinery to work with unicode paths
View: 9425
分配给: 抄送列表: Valery.Lesin, brett.cannon
优先级: normal 关键字:

Created on 2010-10-13 08:32 by Valery.Lesin, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg118505 - (view) Author: Valery Lesin (Valery.Lesin) 日期: 2010-10-13 08:32
OS: windows

The attempt to import module with non 7-bit ASCII name results in 
'ImportError: No module named <module name>' exception.


Some thoughts: import.c uses functions like fopen, stat and FindFirstFile which wouldn't work correctly with non 7-bit ASCII filenames in Windows.
msg118544 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) 日期: 2010-10-13 16:48
This is a duplicate of 9425
历史
日期 用户 动作 参数
2022-04-11 14:57:07admin修改github: 54290
2010-10-13 16:48:37brett.cannon修改状态: open -> closed
resolution: duplicate
2010-10-13 16:48:24brett.cannon修改后续: Rewrite import machinery to work with unicode paths

消息: + msg118544
抄送: + brett.cannon
2010-10-13 08:32:47Valery.Lesin创建