subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <>
Subject Re: Test failures with Python 3 (Re: PMCs: any Hackathon requests? (deadline 11 October))
Date Fri, 11 Oct 2019 22:52:24 GMT
Nathan Hartman wrote on Fri, Oct 11, 2019 at 16:50:39 -0400:
> On Fri, Oct 11, 2019 at 4:32 PM Yasuhito FUTATSUKI <> wrote:
> > This is caused by mixing bytes object drived from file contents and str
> > object to construct log message.
> Does something like this answer help:
> Something like:
> str(bytes_string, 'utf-8')

Nathan, I appreciate the intent, but Yasuhito and I are both familiar with the
semantics of str and bytes objects in Python 3.  We're not asking what the
difference between bytes and str is, or how to work with them; we are simply
trying to resolve two particular test failures, in svnadmin_ and  Specifically, we're trying to determine whether file
contents should be handled as str or as bytes, both in the test function and in
the test framework.



View raw message