[issue8988] import + coding = failure (3.1.2/win32)
Amaury Forgeot d'Arc
report at bugs.python.org
Sat Jul 3 11:19:06 CEST 2010
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
Here is what I did, on a machine running Windows XP, with python 3.1.1:
- I used 7-zip to extract the attached zip file, in the c:\temp directory.
- Then I opened a command prompt, here is an exact copy of the session:
C:>cd \temp\█
C:\temp\█>dir
Le volume dans le lecteur C s'appelle Disque dur
Le numéro de série du volume est D4BA-260C
Répertoire de C:\temp\█
03/07/2010 11:10 <REP> .
03/07/2010 11:10 <REP> ..
08/06/2010 09:13 44 a.py
08/06/2010 14:21 11 b.py
2 fichier(s) 55 octets
2 Rép(s) 58 733 801 472 octets libres
C:\temp\█>c:\Python31\python.exe a.py
Traceback (most recent call last):
File "a.py", line 3, in <module>
import b;
ImportError: No module named b
C:\temp\█>notepad a.py
[Replaced encoding with "utf-8", then save and quit]
C:\temp\█>c:\Python31\python.exe a.py
Traceback (most recent call last):
File "a.py", line 2, in <module>
import b;
ImportError: No module named b
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8988>
_______________________________________
More information about the Python-bugs-list
mailing list