[issue12367] select.error has no errno attribute

2011-06-19 Thread STINNER Victor
New submission from STINNER Victor : It would be nice to have a errno attribute for select.error. I don't know if select.errno should inherit from OSError, WindowsError or nothing. See also the PEP 3151: http://www.python.org/dev/peps/pep-3151/#common-errnos-with-select-error -- messag

[issue12367] select.error has no errno attribute

2011-06-20 Thread STINNER Victor
STINNER Victor added the comment: select_errno.patch: select.error now inherits from OSError and so have an errno attribute. I only ran the unit test on Linux, it should be tested on Windows. -- keywords: +patch Added file: http://bugs.python.org/file22414/select_errno.patch _

[issue12367] select.error has no errno attribute

2011-06-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: You can't do this outside of a PEP (see PEP 3151). -- resolution: -> rejected status: open -> closed ___ Python tracker ___ __

[issue12367] select.error has no errno attribute

2011-10-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8bbfb24d4824 by Victor Stinner in branch 'default': Issue #12367: Add a test on error attribute of select.error http://hg.python.org/cpython/rev/8bbfb24d4824 -- nosy: +python-dev ___ Python tracker

[issue12367] select.error has no errno attribute

2011-10-17 Thread Stefan Krah
Stefan Krah added the comment: test_errno fails quite often on FreeBSD: == FAIL: test_errno (test.test_select.SelectTestCase) -- Traceback (most recent call la

[issue12367] select.error has no errno attribute

2011-10-17 Thread Stefan Krah
Stefan Krah added the comment: Hmm, maybe this is a FreeBSD bug: http://osdir.com/ml/freebsd-bugs/2011-03/msg00201.html -- ___ Python tracker ___ __

[issue12367] select.error has no errno attribute

2011-10-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset f6b8e4226260 by Victor Stinner in branch 'default': Issue #12367: Test test_select.test_errno() on FreeBSD http://hg.python.org/cpython/rev/f6b8e4226260 -- ___ Python tracker

[issue12367] select.error has no errno attribute

2011-10-17 Thread Stefan Krah
Stefan Krah added the comment: I'm not sure it's exactly the same FreeBSD bug as in kern/155606, since I can also reproduce the test_errno failure --without-threads. Seems good to skip the test though. -- ___ Python tracker

[issue12367] select.error has no errno attribute

2011-10-17 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: rejected -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12367] select.error has no errno attribute

2011-10-19 Thread Nadeem Vawda
Nadeem Vawda added the comment: The AMD64 FreeBSD 8.2 3.x buildbot has been experiencing sporadic lockups since changeset 8bbfb24d4824 was committed: http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%208.2%203.x/builds/1174/steps/test/logs/stdio http://www.python.org/dev

[issue12367] select.error has no errno attribute

2011-10-19 Thread Nadeem Vawda
Nadeem Vawda added the comment: Sorry, please disregard my last message - I confused the commit times for 8bbfb24d4824 and f6b8e4226260. There haven't been any further lockups since f6b8e4226260 was committed. -- ___ Python tracker

[issue12367] select.error has no errno attribute

2011-10-19 Thread STINNER Victor
STINNER Victor added the comment: > The tracebacks say that the lockups are happening in test_errno The test was added by f6b8e4226260 the 17th october, the last lockup occurred the 16th (19:08:15). Before, I added a workaround to see the failure but avoid the lockup: 60fecfbea397 (Oct 16 20