yuja added a comment.

  > +    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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5794

To: pulkit, #hg-reviewers
Cc: yuja, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to