Remi Pointel <pyt...@xiri.fr> added the comment: Hi, I think this issue is relied to issue 12181.
I have made tests. ################ 1)with no patch: ################ testPair (__main__.TestKQueue) ... ok test_create_event (__main__.TestKQueue) ... FAIL test_create_queue (__main__.TestKQueue) ... ok test_queue_event (__main__.TestKQueue) ... FAIL ====================================================================== FAIL: test_create_event (__main__.TestKQueue) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 28, in test_create_event self.assertEqual(ev.ident, fd) AssertionError: 562945658454018L != 2 ====================================================================== FAIL: test_queue_event (__main__.TestKQueue) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 129, in test_queue_event (server.fileno(), select.KQ_FILTER_WRITE, flags)]) AssertionError: Lists differ: [(1688841270329350L, -2, 5L), ... != [(6, -2, 0), (7, -2, 0)] First differing element 0: (1688841270329350L, -2, 5L) (6, -2, 0) - [(1688841270329350L, -2, 5L), (1688841270329351L, -2, 5L)] + [(6, -2, 0), (7, -2, 0)] ---------------------------------------------------------------------- Ran 4 tests in 0.002s FAILED (failures=2) Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 196, in <module> test_main() File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 193, in test_main test_support.run_unittest(TestKQueue) File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_support.py", line 1087, in run_unittest _run_suite(suite) File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_support.py", line 1070, in _run_suite raise TestFailed(err) test.test_support.TestFailed: multiple errors occurred ##################################### 2)with patch-Lib_test_test_kqueue_py: ##################################### testPair (__main__.TestKQueue) ... ok test_create_event (__main__.TestKQueue) ... FAIL test_create_queue (__main__.TestKQueue) ... ok test_queue_event (__main__.TestKQueue) ... FAIL ====================================================================== FAIL: test_create_event (__main__.TestKQueue) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 28, in test_create_event self.assertEqual(ev.ident, fd) AssertionError: 562945658454018L != 2 ====================================================================== FAIL: test_queue_event (__main__.TestKQueue) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 130, in test_queue_event (server.fileno(), select.KQ_FILTER_WRITE, flags)]) AssertionError: Lists differ: [(1688841270329350L, -2, 5L), ... != [(6, -2, 5), (7, -2, 5)] First differing element 0: (1688841270329350L, -2, 5L) (6, -2, 5) - [(1688841270329350L, -2, 5L), (1688841270329351L, -2, 5L)] + [(6, -2, 5), (7, -2, 5)] ---------------------------------------------------------------------- Ran 4 tests in 0.002s FAILED (failures=2) Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 197, in <module> test_main() File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 194, in test_main test_support.run_unittest(TestKQueue) File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_support.py", line 1087, in run_unittest _run_suite(suite) File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_support.py", line 1070, in _run_suite raise TestFailed(err) test.test_support.TestFailed: multiple errors occurred ##################################################### 3)with patch-Modules_selectmodule_c (see issue 12181) ##################################################### testPair (__main__.TestKQueue) ... ok test_create_event (__main__.TestKQueue) ... ERROR test_create_queue (__main__.TestKQueue) ... ok test_queue_event (__main__.TestKQueue) ... FAIL ====================================================================== ERROR: test_create_event (__main__.TestKQueue) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 74, in test_create_event ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum) OverflowError: signed integer is greater than maximum ====================================================================== FAIL: test_queue_event (__main__.TestKQueue) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 129, in test_queue_event (server.fileno(), select.KQ_FILTER_WRITE, flags)]) AssertionError: Lists differ: [(6L, -2, 5L), (7L, -2, 5L)] != [(6, -2, 0), (7, -2, 0)] First differing element 0: (6L, -2, 5L) (6, -2, 0) - [(6L, -2, 5L), (7L, -2, 5L)] ? - ^^ - ^^ + [(6, -2, 0), (7, -2, 0)] ? ^ ^ ---------------------------------------------------------------------- Ran 4 tests in 0.002s FAILED (failures=1, errors=1) Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 196, in <module> test_main() File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 193, in test_main test_support.run_unittest(TestKQueue) File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_support.py", line 1087, in run_unittest _run_suite(suite) File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_support.py", line 1070, in _run_suite raise TestFailed(err) test.test_support.TestFailed: multiple errors occurred ##################################################################### 4)with patch-Modules_selectmodule_c and patch-Lib_test_test_kqueue_py ##################################################################### BRARY_PATH=/usr/ports/pobj/Python-2.7.1/Python-2.7.1 /usr/ports/pobj/Python-2.7.1/Python-2.7.1/python /usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py testPair (__main__.TestKQueue) ... ok test_create_event (__main__.TestKQueue) ... ERROR test_create_queue (__main__.TestKQueue) ... ok test_queue_event (__main__.TestKQueue) ... ok ====================================================================== ERROR: test_create_event (__main__.TestKQueue) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 74, in test_create_event ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum) OverflowError: signed integer is greater than maximum ---------------------------------------------------------------------- Ran 4 tests in 0.001s FAILED (errors=1) Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 197, in <module> test_main() File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 194, in test_main test_support.run_unittest(TestKQueue) File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_support.py", line 1087, in run_unittest _run_suite(suite) File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_support.py", line 1070, in _run_suite raise TestFailed(err) test.test_support.TestFailed: Traceback (most recent call last): File "/usr/ports/pobj/Python-2.7.1/Python-2.7.1/Lib/test/test_kqueue.py", line 74, in test_create_event ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum) OverflowError: signed integer is greater than maximum Don't hesitate if you need more informations, but I think we must close issue 12181 before. Thanks a lot, Remi. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6419> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com