durin42 added a comment.
In D7005#102780 <https://phab.mercurial-scm.org/D7005#102780>, @martinvonz wrote: > Can we import `io.open` regardless of Python version instead? That won't work because pycompat.open accepts bytestrings as the mode argument. I'll take this now, and then we can do a cleanup to unwind the mode string back to a sysstr everywhere (I'll take that on if Pulkit doesn't). REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7005/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7005 To: indygreg, durin42, martinvonz, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel