Opened at 2021-05-24T14:04:14Z
Last modified at 2023-09-05T14:20:22Z
#3720 new task
On Python 3, filesystem paths and sys.argv should use os.fsencode/os.fsdecode for encoding
Reported by: | itamarst | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | unknown | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description (last modified by itamarst)
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.
Change History (2)
comment:1 Changed at 2021-05-24T14:04:39Z by itamarst
- Description modified (diff)
- Summary changed 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
comment:2 Changed at 2023-09-05T14:20:22Z by itamarst
- Milestone Support Python 3 deleted
Note: See
TracTickets for help on using
tickets.
Ticket retargeted after milestone closed