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.

Author gonegown
Recipients gonegown
Date 2010-06-13.10:50:32
SpamBayes Score 0.00555833
Marked as misclassified No
Message-id <1276426235.15.0.873898512927.issue8988@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-06-13 10:50:35gonegownsetrecipients: + gonegown
2010-06-13 10:50:35gonegownsetmessageid: <1276426235.15.0.873898512927.issue8988@psf.upfronthosting.co.za>
2010-06-13 10:50:33gonegownlinkissue8988 messages
2010-06-13 10:50:32gonegowncreate