[tahoe-lafs-trac-stream] [tahoe-lafs] #1437: Replace os.path (etc.) with twisted.python.filepath

tahoe-lafs trac at tahoe-lafs.org
Tue Jul 19 09:18:29 PDT 2011


#1437: Replace os.path (etc.) with twisted.python.filepath
-------------------------------+-----------------------------
     Reporter:  arch_o_median  |      Owner:  arch_o_median
         Type:  defect         |     Status:  new
     Priority:  minor          |  Milestone:  undecided
    Component:  code           |    Version:  1.8.2
   Resolution:                 |   Keywords:  unicode cleanup
Launchpad Bug:                 |
-------------------------------+-----------------------------
Changes (by davidsarah):

 * keywords:   => unicode cleanup
 * component:  unknown => code


Comment:

 When I looked at the
 [http://twistedmatrix.com/trac/browser/tags/releases/twisted-10.1.0/twisted/python/filepath.py
 code for FilePath] recently, it wasn't clear to me whether it properly
 supported Unicode paths. (It might to the extent that the {{{os.path}}}
 operations it's using do, but it didn't seem to have been explicitly
 considered, i.e. if the underlying {{{path}}} can be a Unicode string then
 that would only work by coincidence.) Unicode path support is critical for
 Windows; if this is not supported then it would be a regression to switch
 from {{{unicode}}} strings to {{{FilePath}}}.

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


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