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.

Author vstinner
Recipients gvanrossum, jcea, neologix, serhiy.storchaka, vstinner
Date 2013-08-21.10:23:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
"This all sounds fine to fix without waiting for anything else -- can you attach a patch here?"

I opened the issue as a reminder for me. Here is a patch.

 * Add close() and fileno() methods and a closed attribute (property) to devpoll object
 * Document closed attribute of epoll and kqueue objects
 * Add tests on closed object for devpoll, epoll and kqueue. There was no test for devpoll, epoll nor kqueue :-(

select.poll is still not tested. We should add much more tests, especially tests checking than a fd becomes ready for each implementation. We may develop these tests using #16853 ?

I ran test_select on Linux, so I only checked the epoll unit test.

The "closed" attribute of epoll and kqueue objects should also be documented in Python 2.7 and 3.3.
Date User Action Args
2013-08-21 10:23:16vstinnersetrecipients: + vstinner, gvanrossum, jcea, neologix, serhiy.storchaka
2013-08-21 10:23:16vstinnersetmessageid: <>
2013-08-21 10:23:16vstinnerlinkissue18794 messages
2013-08-21 10:23:16vstinnercreate