Eiro Neemous added the comment: @Christian: Sorry that I didnt' attached test file= = It was long ago that I met this problem, so forget some details= = The right description is "cannot do 'from locale import getpreferredencoding'". please extract the attached zip file and test "from locale import getpreferredencoding".
---------- title: fail to "import locale" when there's a dir named "locale" in current dir -> fail to "from locale import getpreferredencoding" when there's a dir named "locale" in current dir Added file: http://bugs.python.org/file28526/locale.zip _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16838> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com