You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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