From: Cyril J. <cyr...@fa...> - 2009-08-30 08:55:47
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Just commited a workaround/fix (not clear to me) to make this problem go away. The bug is present in > the 0.8 SVN branch, but not in trunk, as use_poll's kwarg for asyncore.loop() is by default False. > > In the 0.8 svn branch we use use_poll=True. I changed it to use_poll=False, tested the code in an > up-to-date Ubuntu distro with Python 2.6, and it works fine. > I changed to poll() to workaround a "Unknown Error 514" bug (not clear if it came from Python or Linux). Search the mailing list for "unknown error 514" or look at [1]. So we should maybe only use select() if the Python version is higher than 2.5 and stay with poll() for the previous versions. Regards, Cyril [1] http://sourceforge.net/mailarchive/message.php?msg_id=5d4bae840804250420v6359926ened2eaf234cf6d15d%40mail.gmail.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqaPnsACgkQlYy8cEwUMaRTlgCdFwO9bVhEf3Meyz6zAwRdbKHp sQsAmwYm0+2vS6a8H2v7TioW6snUTzdT =cMmL -----END PGP SIGNATURE----- |