Skip to content

sys.getfilesystemencoding() should return interned string #106182

@methane

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

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

      close