◐ Shell
clean mode source ↗

Issue 10081: 'import' operator doesn't work with unicode non 7-bit ASCII module names (OS: windows)

Issue10081

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) Date: 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) Date: 2010-10-13 16:48
This is a duplicate of 9425
History
Date User Action Args
2022-04-11 14:57:07adminsetgithub: 54290
2010-10-13 16:48:37brett.cannonsetstatus: open -> closed
resolution: duplicate
2010-10-13 16:48:24brett.cannonsetsuperseder: Rewrite import machinery to work with unicode paths

messages: + msg118544
nosy: + brett.cannon

2010-10-13 08:32:47Valery.Lesincreate