[ python-Bugs-850981 ] test_poll fails in 2.3.2 on MacOSX(Panther)

SourceForge.net noreply at sourceforge.net
Sun Mar 21 19:02:56 EST 2004


Bugs item #850981, was opened at 2003-11-28 19:28
Message generated for change (Comment added) made by mondragon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=850981&group_id=5470

Category: Macintosh
Group: Python 2.3
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Russ Ferriday (russf)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_poll fails in 2.3.2 on MacOSX(Panther)

Initial Comment:
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





----------------------------------------------------------------------

>Comment By: Nick Bastin (mondragon)
Date: 2004-03-21 19:02

Message:
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

----------------------------------------------------------------------

Comment By: Nick Bastin (mondragon)
Date: 2004-03-21 18:59

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=850981&group_id=5470



More information about the Python-bugs-list mailing list