subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasuhito FUTATSUKI <>
Subject Re: [swig-py3][patch] interfacing bytes object instead of str
Date Wed, 21 Nov 2018 23:05:44 GMT
On 11/22/18 3:22 AM, Yasuhito FUTATSUKI wrote:
> Here is a patch against typemap file core.i, try to change
> svn_stream_read*() and svn_stream_write() interface to use
> bytes object.

Even with this patch, svn_stream_readline() doesn't work well.
It claims 2nd argment is not bytes object, and returns str object.

I think it is better that svn_stream_readlin() returns bytes too.

I'll try to fix, though I'm not sure I can.

View raw message