[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3720: On Python 3, filesystem paths and sys.argv should use os.fsencode/os.fsdecode for encoding (was: On Python 3, filesystem paths should use os.fsencode/os.fsdecode for encoding)

Tahoe-LAFS trac at tahoe-lafs.org
Mon May 24 14:04:39 UTC 2021


#3720: On Python 3, filesystem paths and sys.argv should use
os.fsencode/os.fsdecode for encoding
--------------------------+------------------------------
     Reporter:  itamarst  |      Owner:
         Type:  task      |     Status:  new
     Priority:  normal    |  Milestone:  Support Python 3
    Component:  unknown   |    Version:  n/a
   Resolution:            |   Keywords:
Launchpad Bug:            |
--------------------------+------------------------------
Description changed by itamarst:

Old description:

> Unicode filesystem paths and `sys.argv` should be encoded/decoded with
> `os.fsencode`/`os.fsdecode` in places where we have to do this explicitly
> on Python 3.

New description:

 Unicode filesystem paths and `sys.argv` should be encoded/decoded with
 `os.fsencode`/`os.fsdecode` in places where we have to do this explicitly
 on Python 3.

 Not clear whether this is actually necessary, but worth noting.

--

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3720#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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