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 — at Version 1
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 (1)
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
Note: See
TracTickets for help on using
tickets.