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

Re: Python 3 Bindings Query

From: James McCoy <jamessan_at_jamessan.com>
Date: Mon, 16 Oct 2017 20:54:28 -0400

On Mon, Oct 16, 2017 at 08:36:51PM +0000, Daniel Shahaf wrote:
> Troy Curtis Jr wrote on Mon, 16 Oct 2017 01:00 +0000:
> > through Fedora's Python 3 porting status list [1] I saw the familiar
> > Subversion project showed as not yet supporting Python 3. So I was
> > wondering if you are interested in having me take a shot at getting it
> > working. For a really small effort, I would have just implemented it and
> > then see if you would take the patch. However, after spending a bit of
> > time on it this afternoon, I realized it will take a bit more time to get
> > right. So I wanted to make sure the dev team was interesting in taking in
> > such a patch before I bothered to finish it out.
> >
>
> Thanks for asking. In general, we'd like to support Python 3. In 1.9
> we dropped Python 2.6 support in order to make it easier to add Python
> 3.x support.

Although, that was just in the build/test infrastructure, not the actual
bindings.

> > I also wanted to know of any partial efforts that might have
> > already been started, or if there were discussions related to the
> > implementation that my searches did not turn up.
>
> There are several separate uses of Python in the source tree. I recall
> patches to build/, tools/, and subversion/tests/cmdline/ that improve
> 3.x compatibility, but I don't recall any such changes to the bindings.
> Note that we have both SWIG bindings at subversion/bindings/swig/python/
> and ctypes bindings at subversion/bindings/ctypes-python/.

It looks like the last attempt (from 8 years ago) to make the bindings
3.x compatible still lives at ^/subversion/branches/python-3-compatibility.

Cheers,

-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB
Received on 2017-10-17 02:54:35 CEST

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.