Content-Length: 253763 | pFad | https://github.com/python/cpython/issues/106182

3E `sys.getfilesystemencoding()` should return interned string · Issue #106182 · python/cpython · GitHub
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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/106182

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy