ports/156759: [patch] lang/python: kevent does not accept KQ_NOTE_EXIT (and other (f)flags)

Kubilay Kocak koobs.freebsd at gmail.com
Wed Oct 23 07:30:01 UTC 2013


The following reply was made to PR ports/156759; it has been noted by GNATS.

From: Kubilay Kocak <koobs.freebsd at gmail.com>
To: bug-followup at FreeBSD.org, naylor.b.david at 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 "<stdin>", line 1, in <module>
 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 "<stdin>", line 1, in <module>
 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


More information about the freebsd-python mailing list