Skip to content

sys.getfilesystemencoding() should return interned string #106182

Closed

Description

@methane

Feature or enhancement

Intern sys.getfilesystemencoding() output.

Pitch

fsencoding string may be cached and reused.

(After sys._enablelegacywindowslegacyfsencoding() is removed, we can cache fsencoding object.)

Linked PRs

Activity

  1. added a commit that references this issue on Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions