> +    name = pycompat.sysstr(name)
>      return list(grp.getgrnam(name).gr_mem)

Perhaps, it should be `fsdecode()` since they appear to abuse
`PyUnicode_EncodeFSDefault()` to get back bytes.

And we'll probably need to `fsencode()` gr_mem back to bytes as well.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to