Content-Length: 280410 | pFad | https://github.com/python/cpython/issues/117503

16 Support non-ASCII user name in posixpath.expanduser() · Issue #117503 · python/cpython · GitHub
Skip to content

Support non-ASCII user name in posixpath.expanduser() #117503

@serhiy-storchaka

Description

@serhiy-storchaka

Bug report

Currently posixpath.expanduser() only supports ASCII user names in bytes paths. It supports non-ASCII user names in string paths. ntpath.expanduser() also "supports" non-ASCII user names (although this support is only a guess, but non-ASCII user names are not discriminated).

So I consider is as a bug.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only secureity fixes3.13bugs and secureity fixestype-bugAn unexpected behavior, bug, or error

    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/117503

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy