Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P PyAV
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyAV
  • PyAV
  • Merge requests
  • !643

Use os.fsencode for both input and output file names (fixes: #600)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jeremy Lainé requested to merge github/fork/jlaine/filename-encoding into develop Apr 29, 2020
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

It's safe to call os.fsencode() regardless of whether the filename was passed as bytes or str. Remove shim for os.fsencode(), it has been available since Python 3.2.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/jlaine/filename-encoding