From owner-freebsd-python@FreeBSD.ORG Tue Mar 20 13:24:20 2012 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C151B106564A; Tue, 20 Mar 2012 13:24:20 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [IPv6:2a02:6b8:0:801::3]) by mx1.freebsd.org (Postfix) with ESMTP id B43618FC18; Tue, 20 Mar 2012 13:24:16 +0000 (UTC) Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [95.108.131.192]) by forward13.mail.yandex.net (Yandex) with ESMTP id 3DA59141DFB; Tue, 20 Mar 2012 17:24:15 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1332249855; bh=dUafiXFDGlO8fOU0FRZ/gsPDu4O8+/3UxcoY8kh71jk=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=RTPIBoIc0Wg1FueHo3qeDf4zwWBS/F72ubUZbyjral9De50ZQ+5uHV6u9s5cq2U3i 3YGLnnj8+rJrJbzLuccnGAT5UK6k/4THYF1mwQiv709n9wgvgATKvuKiAeQQYmoo+Y R47AjHh9zwmYrKd0+kSbhzIKfwd+dXV5sk9R77IU= Received: from smtp14.mail.yandex.net (localhost [127.0.0.1]) by smtp14.mail.yandex.net (Yandex) with ESMTP id E917B1B60575; Tue, 20 Mar 2012 17:24:14 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1332249855; bh=dUafiXFDGlO8fOU0FRZ/gsPDu4O8+/3UxcoY8kh71jk=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=RTPIBoIc0Wg1FueHo3qeDf4zwWBS/F72ubUZbyjral9De50ZQ+5uHV6u9s5cq2U3i 3YGLnnj8+rJrJbzLuccnGAT5UK6k/4THYF1mwQiv709n9wgvgATKvuKiAeQQYmoo+Y R47AjHh9zwmYrKd0+kSbhzIKfwd+dXV5sk9R77IU= Received: from unknown (unknown [213.27.65.65]) by smtp14.mail.yandex.net (nwsmtp/Yandex) with ESMTP id OD7usaw0-OE7KolOM; Tue, 20 Mar 2012 17:24:14 +0400 Message-ID: <4F6884F2.3000504@yandex.ru> Date: Tue, 20 Mar 2012 17:24:02 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120314 Thunderbird/10.0.3 MIME-Version: 1.0 To: Mel Flynn References: <201203181608.q2IG8vo0022337@datakitty.lan.rachie.is-a-geek.net> In-Reply-To: <201203181608.q2IG8vo0022337@datakitty.lan.rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: python@freebsd.org, bug-followup@FreeBSD.org, portsmgr@FreeBSD.org Subject: Re: [patch] Mk/bsd.python.mk: Fix python -c commands for python 3+ 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: Tue, 20 Mar 2012 13:24:20 -0000 Mel Flynn wrote on 18.03.2012 20:08: >> Submitter-Id: current-users >> Originator: Mel Flynn >> Organization: >> Confidential: no >> Synopsis: [patch] Mk/bsd.python.mk: Fix python -c commands for python 3+ Hi! Python print statement allows to use it with brackets since 2.4 (at least, i didn't checked < 2.4) so this change will work with any python version, that is in ports at the moment. For 3.x it will fix the issue, for 2.x it's just noop. So it's safe to commit as for me. I rebuilt all my py-stuff with this patch (portmaster py27-) and all was fine. I also tested updated commands with python 2.4.3 (on RHEL) and they works too. So what to do next? Can I just commit this or exp-run is needed? Does portmgr@ approves? -- Regards, Ruslan Tinderboxing kills... the drives.