[issue18325] test_kqueue fails in OpenBSD

2013-06-28 Thread Federico Schwindt
New submission from Federico Schwindt: test_kqueue fails in OpenBSD/amd64 -current: Traceback (most recent call last): File /usr/obj/pobj/Python-3.3.2/Python-3.3.2/Lib/test/test_kqueue.py, line 79, in test_create_event ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum

[issue18325] test_kqueue fails in OpenBSD

2013-06-28 Thread Federico Schwindt
Changes by Federico Schwindt federico.schwi...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18325 ___ ___ Python

[issue12181] SIGBUS error on OpenBSD (sparc64)

2013-04-13 Thread Federico Schwindt
Federico Schwindt added the comment: Trent, would be possible to update the OpenBSD slaves to 5.3 (or -current)? There has been too many changes since 5.1 that affect python (for example the threads implementation). -- ___ Python tracker rep

[issue12181] SIGBUS error on OpenBSD (sparc64)

2013-04-12 Thread Federico Schwindt
Federico Schwindt added the comment: Here's a slightly modified version of the patch that should work with python 2 and 3. -- Added file: http://bugs.python.org/file29789/openbsd-kqueue-001.patch ___ Python tracker rep...@bugs.python.org http

[issue12181] SIGBUS error on OpenBSD (sparc64)

2013-04-09 Thread Federico Schwindt
Federico Schwindt added the comment: Please note that the tests are still broken and need to be addressed (bignum and sys.maxsize passed to ident and data respectively). If you could fill a separate issue for that, it would be great. I will but once this is committed. It'd make things

[issue12181] SIGBUS error on OpenBSD (sparc64)

2013-04-09 Thread Federico Schwindt
Federico Schwindt added the comment: This patch was made against 2.7.4. I've checked 3.3.1 and it obviously doesn't work as PyInt* are gone. I'll update the patch later today so it can be used everywhere. -- ___ Python tracker rep

[issue12181] SIGBUS error on OpenBSD (sparc64)

2013-04-08 Thread Federico Schwindt
Federico Schwindt added the comment: New version hopefully good and ready for inclusion. Please note that the tests are still broken and need to be addressed (bignum and sys.maxsize passed to ident and data respectively). Thanks. -- Added file: http://bugs.python.org/file29741/patch

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-07-27 Thread Federico Schwindt
Federico Schwindt federico.schwi...@gmail.com added the comment: I wrote the patch. While the patch fixes most of the issues I'm not entirely happy with it and that's the reason I have not submitted it. -- ___ Python tracker rep...@bugs.python.org

[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-06-01 Thread Federico Schwindt
Federico Schwindt federico.schwi...@gmail.com added the comment: Adding to this, the kqueue code (and test) heavily depends on the size of these members. kqueue_event_richcompare() uses a Py_intptr_t to store the result of substracting T_UINTs which is obviusly wrong on platforms where