Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue6906] Tkinter sets an unicode environment variable on win32

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Oct 28, 2009, 3:33 PM

Post #1 of 1 (39 views)
Permalink
[issue6906] Tkinter sets an unicode environment variable on win32

Tim Hatch <tim[at]timhatch.com> added the comment:

I'm running the exact same version as Gabriel (on Windows 7, 32 bit)
from the python.org installer, and have the same behavior as MichaƂ.
Checking FixTk.py it appears that on Vista and above, it calls the Win32
API GetFinalPathNameByHandleW to expand symbolic links, but this is a -W
function, not a -A so it deals with unicode.

The blame shows this function was added in response to #3881

For my system, the paths are all lower ascii so changing the end of
convert_path to return str(s) works. I don't know anything about
filesystem encodings on Windows to do a more correct conversion.

----------
nosy: +thatch

_______________________________________
Python tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue6906>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.