Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6409A200C3C for ; Mon, 20 Mar 2017 03:21:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 62997160B8E; Mon, 20 Mar 2017 02:21:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AAEAB160B7D for ; Mon, 20 Mar 2017 03:21:29 +0100 (CET) Received: (qmail 98831 invoked by uid 500); 20 Mar 2017 02:21:28 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 98820 invoked by uid 99); 20 Mar 2017 02:21:28 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2017 02:21:28 +0000 Received: from [192.168.0.34] (ovaltofu.org [50.0.193.30]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 899A81A023B for ; Mon, 20 Mar 2017 02:21:28 +0000 (UTC) Date: Sun, 19 Mar 2017 19:21:27 -0700 (PDT) From: Andi Vajda X-X-Sender: vajda@yuzu.local Reply-To: Andi Vajda To: pylucene-dev@lucene.apache.org Subject: Re: python 3 support is checked into trunk In-Reply-To: <201703200136.01213.sweet_f_a@gmx.de> Message-ID: References: <201703200136.01213.sweet_f_a@gmx.de> User-Agent: Alpine 2.01 (OSX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed archived-at: Mon, 20 Mar 2017 02:21:30 -0000 On Mon, 20 Mar 2017, Ruediger Meier wrote: > On Sunday 19 March 2017, Andi Vajda wrote: >> I just now checked in support for Python 3 (3.5+), > > Thanks a lot! > >> built and tested >> on Mac OS X 10.12 only, with Python 3.6. > > FYI I've tested a HelloWorld.jar using your svn trunk on travis build > farm for OSX 10.11 and xcode 7.3, 8, 8.1, 8.2: > https://travis-ci.org/rudimeier/jcc/builds/212820385 > >> Linux support should be next. > > It would work already on Linux with this patch > https://github.com/rudimeier/jcc/commit/2ccf7e4b828c678577fc0ace24bdb4680ede207a I changed linux2 to linux but still need to see what kind of setuptools patching/monkeypatching hackery is needed to produce a usable libjcc.so. Thanks ! Andi.. > > plus fixing -ljcc and -lpython soname. > > BTW support for python >=3.3 would be nice and very easy. We just need > one define like this in macros.h: > > #if PY_VERSION_HEX < 0x03050000 > #define Py_DecodeLocale(_arg_, _size_) _Py_char2wchar(_arg_, _size_) > #endif > > ... as you see here a huge Ubuntu 14.04 build matrix > https://travis-ci.org/rudimeier/jcc/builds/212830434 > >> Someone with access to Windows, please help test/fix/finish support >> for Python 3 on Windows, both with the MSVC and Mingw compilers. I >> have no access to Windows anymore. > > I know already about one MSVC issue: > https://github.com/rudimeier/jcc/issues/1 > > probably fixed by > https://github.com/rudimeier/jcc/commit/764ed0dc1f77c68e4a6998688d2e8340704fd237 > (But this fix is also not tested yet.) > > cu, > Rudi >