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

2014-02-22 Thread Michał Pasternak
Michał Pasternak added the comment: I just hit this bug on 2.7.6, running on polish WinXP (I need to build some packages there, I hope I'll avoid a nasty py2exe bug). Any reasons this is not fixed yet? Do you need any assistance? -- nosy: +Michał.Pasternak

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

2014-02-22 Thread Michał Pasternak
Michał Pasternak added the comment: Another REG file, encoded with CP1250, I believe. -- Added file: http://bugs.python.org/file34188/issue9291-key.reg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9291

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

2014-02-22 Thread Michał Pasternak
Michał Pasternak added the comment: Martin: the problematic key is [HKEY_CLASSES_ROOT\BDATuner.Składniki]. I am pasting its name, because I suppose, that as bugs.python.org is utf-8, special characters will be pasted properly. Included you will find a .REG file, which is Windows Registry

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

2014-02-22 Thread Michał Pasternak
Michał Pasternak added the comment: As for the fix, sitecustomize.py works for me, too, but I somehow believe, that adding sitecustomize.py for new Python installations would propably do more harm than good. I'll check those 2 patches and I'll let you know

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

2014-02-22 Thread Michał Pasternak
Michał Pasternak added the comment: 9291.patch works for me too, but I am unsure about its idea. Silently ignoring non-ASCII registry entries - does it sound like a good idea? Maybe. Is it pythonic? I doubt so. I don't exactly understand what 9291a.patch is doing. For me it does look like

[issue6906] Tkinter sets an unicode environment variable on win32

2009-11-16 Thread Michał Pasternak
Michał Pasternak michal@gmail.com added the comment: I hit that bug with Twisted too - I tried to use AMP: http://twistedmatrix.com/trac/ticket/3931 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6906

[issue6906] Tkinter sets an unicode environment variable on win32

2009-11-14 Thread Michał Pasternak
Michał Pasternak michal@gmail.com added the comment: This patch works OK for me (Vista Home Premium + Python 2.6), thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6906

[issue6906] Tkinter sets an unicode environment variable on win32

2009-09-14 Thread Michał Pasternak
New submission from Michał Pasternak michal@gmail.com: Hi, I was recently playing with txAmpoule Twisted on win32. When Twisted spawns processess, the environment is checked for unicode variables (and an exception is raised in case of). Then it came to my attention, that importing

[issue4989] 'calendar' module is crummy and should be removed

2009-01-18 Thread Michał Pasternak
New submission from Michał Pasternak michal@gmail.com: I was looking for some library to handle calendar events. Something PIM- style, something useful, that could check if, for example, 2 weekly repeated events that start on Monday morning and last until December conflict with each other