[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [swig-py3][patch] interfacing bytes object instead of str

From: Yasuhito FUTATSUKI <futatuki_at_poem.co.jp>
Date: Thu, 22 Nov 2018 08:05:44 +0900

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.

-- 
Yasuhito FUTATSUKI
Received on 2018-11-22 00:05:26 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.