[tahoe-lafs-trac-stream] [tahoe-lafs] #1674: abspath_expanduser_unicode fails on Windows if username or home directory contains non-ASCII characters

tahoe-lafs trac at tahoe-lafs.org
Tue Feb 14 20:23:49 UTC 2012


#1674: abspath_expanduser_unicode fails on Windows if username or home directory
contains non-ASCII characters
-------------------------+-----------------------------
     Reporter:  vikarti  |      Owner:  davidsarah
         Type:  defect   |     Status:  assigned
     Priority:  major    |  Milestone:  1.10.0
    Component:  code     |    Version:  1.9.1
   Resolution:           |   Keywords:  windows unicode
Launchpad Bug:           |
-------------------------+-----------------------------

Comment (by davidsarah):

 {{{os.path.expanduser}}} appears to be hopelessly buggy when the username
 is non-ASCII (it returns the wrong answer even when it doesn't fail). We
 were already working around two bugs in the path functions
 (http://bugs.python.org/issue1669539 and
 http://bugs.python.org/issue5827), so it might be simpler just to write
 our own implementation of {{{expanduser}}} from scratch.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1674#comment:3>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list