On Python 3, filesystem paths and sys.argv should use os.fsencode/os.fsdecode for encoding #3720

Open
opened 2021-05-24 14:04:14 +00:00 by itamarst · 1 comment
itamarst commented 2021-05-24 14:04:14 +00:00
Owner

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.

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.
tahoe-lafs added the
unknown
normal
task
n/a
labels 2021-05-24 14:04:14 +00:00
tahoe-lafs added this to the Support Python 3 milestone 2021-05-24 14:04:14 +00:00
tahoe-lafs changed title from On Python 3, filesystem paths should use os.fsencode/os.fsdecode for encoding to On Python 3, filesystem paths and sys.argv should use os.fsencode/os.fsdecode for encoding 2021-05-24 14:04:39 +00:00
itamarst commented 2023-09-05 14:20:22 +00:00
Author
Owner

Ticket retargeted after milestone closed

Ticket retargeted after milestone closed
tahoe-lafs removed this from the Support Python 3 milestone 2023-09-05 14:20:22 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#3720
No description provided.