From owner-freebsd-python@FreeBSD.ORG Mon Mar 5 22:05:43 2007 Return-Path: X-Original-To: python@freebsd.org Delivered-To: freebsd-python@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 027B016A401; Mon, 5 Mar 2007 22:05:43 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id DD3B813C491; Mon, 5 Mar 2007 22:05:42 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay5.apple.com (a17-128-113-35.apple.com [17.128.113.35]) by mail-out3.apple.com (8.13.8/8.13.8) with ESMTP id l25LV3Ia010812; Mon, 5 Mar 2007 13:31:04 -0800 (PST) Received: from relay5.apple.com (unknown [127.0.0.1]) by relay5.apple.com (Symantec Mail Security) with ESMTP id D851529C005; Mon, 5 Mar 2007 13:31:03 -0800 (PST) X-AuditID: 11807123-a2e3bbb000000a32-c1-45ec8c17bbc2 Received: from [17.214.13.96] (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay5.apple.com (Apple SCV relay) with ESMTP id C5CF630400D; Mon, 5 Mar 2007 13:31:03 -0800 (PST) In-Reply-To: <20070305202257.8C9CE3A875@cherenkov.geekfire.com> References: <20070305123623.GA41027@FreeBSD.org> <20070305202257.8C9CE3A875@cherenkov.geekfire.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <118D2F7D-B41F-4EAF-A9C8-F3840173EA09@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Mon, 5 Mar 2007 13:30:55 -0800 To: Alexander Botero-Lowry X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== Cc: Hye-Shik Chang , python@freebsd.org Subject: Re: New patch to upgrade python to 2.5 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, 05 Mar 2007 22:05:43 -0000 On Mar 5, 2007, at 12:25 PM, Alexander Botero-Lowry wrote: >> * ${PREFIX}/bin/python may not be available even though a consumer >> port used USE_PYTHON. It'll be need to use the filename including >> python version (eg. python2.5) in scripts or shebang lines. >> ${PYTHON_CMD} is provided by bsd.python.mk for this purpose. > > I think in all honesty we need to have something linked to > $LOCALBASE/bin/python always. I strongly second this position. > There are too many situations where people > might have non ports managed stuff installed that has a shebang for a > simple python binary, and even cases where python is invoked more > directly > that cause issues. I see this is also causing a problem for > committers and > submitters that have to patch or sed _every_ shebang line in existence > instead of just getting a simple solution to the problem. Python has handled potentially incompatible API changes and deprecation extremely well, and there are few times indeed when the majority of Python code needs to pay any attention to the specific version of the Python interpreter which is installed. -- -Chuck