From owner-freebsd-python@FreeBSD.ORG Wed Oct 23 07:30:01 2013 Return-Path: Delivered-To: freebsd-python@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6CA8C6A4 for ; Wed, 23 Oct 2013 07:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5A6082909 for ; Wed, 23 Oct 2013 07:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9N7U10u053215 for ; Wed, 23 Oct 2013 07:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9N7U1YG053212; Wed, 23 Oct 2013 07:30:01 GMT (envelope-from gnats) Date: Wed, 23 Oct 2013 07:30:01 GMT Message-Id: <201310230730.r9N7U1YG053212@freefall.freebsd.org> To: freebsd-python@FreeBSD.org Cc: From: Kubilay Kocak Subject: Re: ports/156759: [patch] lang/python: kevent does not accept KQ_NOTE_EXIT (and other (f)flags) X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Kubilay Kocak List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 07:30:01 -0000 The following reply was made to PR ports/156759; it has been noted by GNATS. From: Kubilay Kocak To: bug-followup@FreeBSD.org, naylor.b.david@gmail.com Cc: Subject: Re: ports/156759: [patch] lang/python: kevent does not accept KQ_NOTE_EXIT (and other (f)flags) Date: Wed, 23 Oct 2013 18:28:01 +1100 The fix was applied upstream, on 2013-08-25 into the default (3.x), 3.3 and 2.7 branches. The issue remains in the current port versions of Python (3.3.2 and 2.7.5) Python 3.3.2 (default, Oct 23 2013, 18:16:59) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9 Type "help", "copyright", "credits" or "license" for more information. >>> from select import * >>> kevent(0, KQ_FILTER_PROC, KQ_EV_ADD | KQ_EV_ENABLE, KQ_NOTE_EXIT) Traceback (most recent call last): File "", line 1, in OverflowError: signed integer is greater than maximum Python 2.7.5 (default, Sep 18 2013, 22:52:14) [GCC 4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)] on freebsd9 Type "help", "copyright", "credits" or "license" for more information. >>> from select import * >>> kevent(0, KQ_FILTER_PROC, KQ_EV_ADD | KQ_EV_ENABLE, KQ_NOTE_EXIT) Traceback (most recent call last): File "", line 1, in OverflowError: signed integer is greater than maximum The following describes what needs to occur: 1) Local patches will need be maintained in python31 and python32, since those branches will not receive the fix upstream (security only) 2) Local patches can/should be applied to python27 and python33, which can remain until their next versions are released. Also, upstream has requested a test be written for the submitted bug http://bugs.python.org/issue11973