Message107731
I have python 3.1.2 fetched from the main site.
imagine two source files:
a.py:
-------
# coding: cp1251
import b;
print('A');
-------
b.py:
-------
print('B');
-------
Both reside in the same directory containing at least one non-ascii character (try 0xdb) in the _path_.
import will fail with an empty error!
#coding here works fine with utf-8 and fails using any other one
now tell me how the hell can file system encoding be related to file content encoding?!
I've attached the source |
|
Date |
User |
Action |
Args |
2010-06-13 10:50:35 | gonegown | set | recipients:
+ gonegown |
2010-06-13 10:50:35 | gonegown | set | messageid: <1276426235.15.0.873898512927.issue8988@psf.upfronthosting.co.za> |
2010-06-13 10:50:33 | gonegown | link | issue8988 messages |
2010-06-13 10:50:32 | gonegown | create | |
|