This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_poll fails in 2.3.2 on MacOSX(Panther)
Type: Stage:
Components: macOS Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: nbastin, russf
Priority: normal Keywords:

Created on 2003-11-29 00:28 by russf, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg19173 - (view) Author: Russ Ferriday (russf) Date: 2003-11-29 00:28
OSX 10.3 (Panther)
Python 2.3.2 source

./configure
make
make test
...
test test_poll crashed -- select.error: (9, 'Bad file 
descriptor')
...
228 tests OK.
1 test failed:
    test_poll
26 tests skipped:
    test_al test_bsddb test_bsddb3 test_cd test_cl test_curses 
test_dl
    test_email_codecs test_gdbm test_gl test_imgfile 
test_largefile
    test_linuxaudiodev test_locale test_mpz test_nis
    test_normalization test_ossaudiodev test_pep277 
test_socket_ssl
    test_socketserver test_sunaudiodev test_timeout 
test_urllibnet
    test_winreg test_winsound
Those skips are all expected on darwin.

Need more info - just ask.
--r



msg19174 - (view) Author: Nick Bastin (nbastin) * (Python committer) Date: 2004-03-21 23:59
Logged In: YES 
user_id=430343

The poll() function supplied with MacOS 10.3 (panther) is an emulated 
functionality, which is broken for invalid file descriptors (fails to set 
POLLNVAL).  Added check in configure to suppress poll on systems 
where it is broken.

Now test_poll.py is skipped on MacOS X.  When/if poll is fixed, this test 
should be run again.

Fixed in:
configure 1.442
configure.in 1.453
pyconfig.h.in 1.96
selectmodule.c 2.76
msg19175 - (view) Author: Nick Bastin (nbastin) * (Python committer) Date: 2004-03-22 00:02
Logged In: YES 
user_id=430343

The poll() function supplied with MacOS 10.3 (panther) is an emulated 
functionality, which is broken for invalid file descriptors (fails to set 
POLLNVAL).  Added check in configure to suppress poll on systems 
where it is broken.

Now test_poll.py is skipped on MacOS X.  When/if poll is fixed, this test 
should be run again.

Fixed in:
configure 1.442
configure.in 1.453
pyconfig.h.in 1.96
selectmodule.c 2.76
msg19176 - (view) Author: Nick Bastin (nbastin) * (Python committer) Date: 2004-03-22 20:32
Logged In: YES 
user_id=430343

Back-ported to release23-maint
History
Date User Action Args
2022-04-11 14:56:01adminsetgithub: 39623
2003-11-29 00:28:34russfcreate