From owner-freebsd-python@FreeBSD.ORG Mon Jul 6 09:32:26 2009 Return-Path: Delivered-To: freebsd-python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0D641065670 for ; Mon, 6 Jul 2009 09:32:26 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id B34D38FC24 for ; Mon, 6 Jul 2009 09:32:26 +0000 (UTC) (envelope-from daichi@ongs.co.jp) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id DE120125424; Mon, 6 Jul 2009 18:14:03 +0900 (JST) Message-ID: <4A51C05B.7060108@ongs.co.jp> Date: Mon, 06 Jul 2009 18:14:03 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.22 (X11/20090624) MIME-Version: 1.0 To: freebsd-python@FreeBSD.org, Masanori OZAWA Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: [CFI] About Python3+ libraries X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2009 09:32:27 -0000 Hi python ports folks, I want to know your ideas and suggestions. Right now, there are 2 major python branches, python 2.x and 3.x. Most ports uses python 2.x as their supported version python. But for i18n user, python 3+ is better than python 2.x, at least for me. So I'm developing some tools and utilities using python 3.0. And encountered a problem, how would I use 3rd party's python 3+ libraries even simultaneously with python2 environment. To use python 2.x as default python is reasonable, because most python applications and libraries use it. But I want to use python3 concurrently. Easy and non-impact solution is to add ports with py3- prefix I guess. For example, right now I want to python3 verion x11-toolkits/py-tkinter. x11-toolkits/py-tkinter - (current port) x11-toolkits/py3-tkinter - (I want to add, suiting for Python 3+) Ideally, in the future while python3 as default version, that will be follow I guess. x11-toolkits/py-tkinter - (meta port depending on PYTHON_DEFAULT_VERSION) x11-toolkits/py2-tkinter - (suiting for Python 2.x, modified from original x11-toolkits/py-tkinter) x11-toolkits/py3-tkinter - (suiting for Python 3+) I think that strategy is reasonable. So I am thinking to add some python3+ libraries with py3- prefix if there is no objections. Are there any more good ideas and solutions? I want to know your ideas. Thanks :) -- ONGS Inc. CEO, Daichi GOTO (daichi@ongs.co.jp) TEL: 81-42-316-7945 FAX: 81-42-316-7946 WWW: http://www.ongs.co.jp/