Re: Python 3 Bindings Build [was: Re: Python 3 Bindings Query]

2017-10-30 Thread Branko Čibej
On 30.10.2017 10:31, Branko Čibej wrote: > For anyone who wants to build the swig-py3 branch on the Mac: > > I created a custom Homebrew tap for the py3c library (unfortunately it's > not "notorious" enough to be accepted into homebrew-core): > > $ brew tap digiverse/p3c ^^^ digiverse/py3c ... typ

Python 3 Bindings Build [was: Re: Python 3 Bindings Query]

2017-10-30 Thread Branko Čibej
For anyone who wants to build the swig-py3 branch on the Mac: I created a custom Homebrew tap for the py3c library (unfortunately it's not "notorious" enough to be accepted into homebrew-core): $ brew tap digiverse/p3c $ brew install py3c $ ./configure ... ... configure: py3c library configuratio

Python3 Swig Bindings Branch (was Re: Python 3 Bindings Query)

2017-10-28 Thread Troy Curtis Jr
Howdy guys, I thought I'd point out my first (useful) commit to the ^/subversion/branches/swig-py3 branch, r1813665. This adds the py3c library to the build and replaces (hopefully all) the various functions that are incompatible between 2 and 3 with the appropriate py3c provided interfaces. The

Re: Python 3 Bindings Query

2017-10-19 Thread Daniel Shahaf
Troy Curtis Jr wrote on Thu, Oct 19, 2017 at 04:05:57 +: > The places where we'd expect this to actually need to happen are less on > the Python API side (since it should be str in and out), but more on the > binding's usage of the underlying Subversion API. All the 'char *' will be > consider

Re: Python 3 Bindings Query

2017-10-18 Thread Troy Curtis Jr
On Wed, Oct 18, 2017 at 10:11 PM Daniel Shahaf wrote: > Troy Curtis Jr wrote on Wed, Oct 18, 2017 at 03:49:57 +: > > > > > 3. Is the assumption of utf8 encoding sufficiently reasonable? > > > > > > In Subversion, we assume that argv and stdout are encoded in APR's > > > "system encoding", but

Re: Python 3 Bindings Query

2017-10-18 Thread Daniel Shahaf
Troy Curtis Jr wrote on Wed, Oct 18, 2017 at 03:49:57 +: > > Thanks for posting that. Is that patch ready for commit, or is it > > intended just as a proof of concept / basis for discussions? > > > > Definitely not ready for commit, it is the WIP of what I was hacking on > Sunday. I was just

Re: Python 3 Bindings Query

2017-10-18 Thread Troy Curtis Jr
On Wed, Oct 18, 2017, 4:11 AM Julian Foad wrote: > Troy Curtis Jr wrote: > >>> 2. Do you want to pick up 'py3c' as a new dep, or implement the > >>> handful of necessary wrappers? > >> > >> I don't know the swig-py bindings well enough to answer that. I guess > >> it depends on how much a "handf

Re: Python 3 Bindings Query

2017-10-18 Thread Julian Foad
Troy Curtis Jr wrote: 2. Do you want to pick up 'py3c' as a new dep, or implement the handful of necessary wrappers? I don't know the swig-py bindings well enough to answer that.  I guess it depends on how much a "handful" would be. [...] I'll default to not pulling it in, I don't think it is

Re: Python 3 Bindings Query

2017-10-17 Thread Troy Curtis Jr
> Thanks for posting that. Is that patch ready for commit, or is it > intended just as a proof of concept / basis for discussions? > Definitely not ready for commit, it is the WIP of what I was hacking on Sunday. I was just getting a feel for the kinds of things involved, and attached it to give

Re: Python 3 Bindings Query

2017-10-17 Thread Daniel Shahaf
Troy Curtis Jr wrote on Tue, Oct 17, 2017 at 03:33:29 +: > On Mon, Oct 16, 2017 at 3:36 PM Daniel Shahaf > wrote: > > I take it that of all these, you're interested in the swig-py bindings? > > Or are the build system and test suite also within your scope? > > > > > Well I certainly don't want

Re: Python 3 Bindings Query

2017-10-16 Thread Troy Curtis Jr
On Mon, Oct 16, 2017 at 3:36 PM Daniel Shahaf wrote: > > > It has been quite some time since I was last on here, but as I was > looking > > Almost a decade, according to contribulyzer. :-) > > Yeah, you know it has been a while when your feature shows up in RHEL..2 releases ago (RHEL6)! > > The

Re: Python 3 Bindings Query

2017-10-16 Thread James McCoy
On Mon, Oct 16, 2017 at 08:36:51PM +, Daniel Shahaf wrote: > Troy Curtis Jr wrote on Mon, 16 Oct 2017 01:00 +: > > 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

Re: Python 3 Bindings Query

2017-10-16 Thread Daniel Shahaf
Troy Curtis Jr wrote on Mon, 16 Oct 2017 01:00 +: > Howdy guys, > Welcome back! > It has been quite some time since I was last on here, but as I was looking Almost a decade, according to contribulyzer. :-) > through Fedora's Python 3 porting status list [1] I saw the familiar > Subversion

Python 3 Bindings Query

2017-10-15 Thread Troy Curtis Jr
Howdy guys, It has been quite some time since I was last on here, but as I was looking 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 wor