[issue9291] mimetypes initialization fails on Windows because of non-Latin characters in registry

2013-12-26 Thread Alexandr Zarubkin
Alexandr Zarubkin added the comment: An alternative solution, which worked for me, is: add file named sitecustomize.py in Lib\site-packages folder. The contents of the file: import sys sys.setdefaultencoding("cp1251") The default encoding should be determined for every localiz

[issue18346] Backporting of atomic file rename to Python 2.7

2013-07-02 Thread Alexandr Zarubkin
Changes by Alexandr Zarubkin : -- title: Backporting of issue 8828 to Python 2.7 -> Backporting of atomic file rename to Python 2.7 ___ Python tracker <http://bugs.python.org/issu