[issue12367] select.error has no errno attribute

2011-10-19 Thread Nadeem Vawda

Nadeem Vawda nadeem.va...@gmail.com 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/buildbot/all/builders/AMD64%20FreeBSD%208.2%203.x/builds/1180/steps/test/logs/stdio

http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%208.2%203.x/builds/1185/steps/test/logs/stdio

http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%208.2%203.x/builds/1190/steps/test/logs/stdio

The tracebacks say that the lockups are happening in test_errno,
which is weird because the test is supposed to be skipped on
FreeBSD. Is it possible that sys.platform is returning something
that doesn't start with freebsd on this buildbot?

--
nosy: +nadeem.vawda

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-10-19 Thread Nadeem Vawda

Nadeem Vawda nadeem.va...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-10-19 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com 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:48:52, just after the last failure).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-10-17 Thread Stefan Krah

Stefan Krah stefan-use...@bytereef.org added the comment:

test_errno fails quite often on FreeBSD:

==
FAIL: test_errno (test.test_select.SelectTestCase)
--
Traceback (most recent call last):
  File 
/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/test/test_select.py, 
line 35, in test_errno
self.fail(exception not raised)
AssertionError: exception not raised

--
Ran 4 tests in 11.132s

--
nosy: +skrah
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-10-17 Thread Stefan Krah

Stefan Krah stefan-use...@bytereef.org added the comment:

Hmm, maybe this is a FreeBSD bug:

http://osdir.com/ml/freebsd-bugs/2011-03/msg00201.html

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-10-17 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za 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 rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-10-17 Thread Stefan Krah

Stefan Krah stefan-use...@bytereef.org 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 rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-10-17 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@haypocalc.com:


--
resolution: rejected - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-10-12 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za 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 rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-06-20 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com 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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-06-20 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

You can't do this outside of a PEP (see PEP 3151).

--
resolution:  - rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12367] select.error has no errno attribute

2011-06-19 Thread STINNER Victor

New submission from STINNER Victor victor.stin...@haypocalc.com:

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

--
messages: 138659
nosy: haypo, pitrou
priority: normal
severity: normal
status: open
title: select.error has no errno attribute
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12367
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com