summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* add a missing comma (closes #25371)Benjamin Peterson2015-10-111-2/+2
|
* Issue #23652: Make the select module compile against LSB headers.Zachary Ware2015-08-021-0/+11
| | | | Patch by Matt Frank.
* Issue #20656: Restore explicit downcast in select_select().Victor Stinner2014-02-181-1/+2
| | | | Cast from time_t (64 bit) to long (32 bit). It should fix a compiler warning.
* Close #20656: Fix select.select() on OpenBSD 64-bitVictor Stinner2014-02-181-10/+12
|
* Issue #20320: select.select() and select.kqueue.control() now round the timeoutVictor Stinner2014-02-161-4/+6
| | | | | | aways from zero, instead of rounding towards zero. It should make test_asyncio more reliable, especially test_timeout_rounding() test.
* Issue #20437: Fixed 22 potential bugs when deleting objects references.Serhiy Storchaka2014-02-091-2/+1
|\
| * Issue #20437: Fixed 21 potential bugs when deleting objects references.Serhiy Storchaka2014-02-091-2/+1
| |
* | Issue #20452: select and selectors round (again) timeout away from zero forVictor Stinner2014-01-311-1/+3
| | | | | | | | | | | | poll and epoll Improve also debug info to analyze the issue
* | (Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e),Victor Stinner2014-01-251-3/+1
|\ \ | |/ | | | | select.epoll.poll() rounds again the timeout towards zero
| * Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeoutVictor Stinner2014-01-251-3/+1
| | | | | | | | towards zero
* | (Merge 3.3) Issue #20311: select.epoll.poll() now rounds the timeout away fromVictor Stinner2014-01-211-1/+3
|\ \ | |/ | | | | | | | | zero, instead of rounding towards zero. For example, a timeout of one microsecond is now rounded to one millisecond, instead of being rounded to zero.
| * Issue #20311: select.epoll.poll() now rounds the timeout away from zero,Victor Stinner2014-01-211-1/+3
| | | | | | | | | | instead of rounding towards zero. For example, a timeout of one microsecond is now rounded to one millisecond, instead of being rounded to zero.
* | Issue #16136: Remove VMS support and VMS-related codeChristian Heimes2013-12-211-14/+11
| |
* | Issue #17919: Fixed integer overflow in the eventmask parameter.Serhiy Storchaka2013-12-141-11/+29
|\ \ | |/
| * Issue #17919: Fixed integer overflow in the eventmask parameter.Serhiy Storchaka2013-12-141-11/+29
| |
* | Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.Serhiy Storchaka2013-12-131-3/+2
|\ \ | |/
| * Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.Serhiy Storchaka2013-12-131-3/+2
| |
* | Fix indentation of switch cases.Guido van Rossum2013-12-071-11/+11
| |
* | Issue #19437: Fix select.epoll.poll(), fix code handling PyMem_New() errorVictor Stinner2013-10-301-1/+0
| | | | | | | | The bug was introduced with the select.epoll module! So it's 5 years old :-)
* | select.epoll.fromfd(fd) must be not change the inheritable flag of the fileVictor Stinner2013-08-281-1/+1
| | | | | | | | descriptor
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-2/+17
| | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* | Issue #11973: Fix a problem in kevent. The flags and fflags fields are nowChristian Heimes2013-08-251-1/+1
|\ \ | |/ | | | | properly handled as unsigned.
| * Issue #11973: Fix a problem in kevent. The flags and fflags fields are nowChristian Heimes2013-08-251-1/+1
| | | | | | | | properly handled as unsigned.
* | Fix devpoll_dealloc().Richard Oudkerk2013-08-221-1/+1
| |
* | Move definition of devpoll_internal_close() before devpoll_close().Richard Oudkerk2013-08-221-15/+15
| |
* | Fix compilation of select module on Solaris.Richard Oudkerk2013-08-221-1/+1
| |
* | Close #18794: Add a fileno() method and a closed attribute to select.devpollVictor Stinner2013-08-211-7/+85
| | | | | | | | | | | | objects. Add also tests on fileno() method and closed attribute of select.epoll and select.kqueue.
* | Issue #8865: Concurrent invocation of select.poll.poll() now raises aSerhiy Storchaka2013-08-201-0/+13
|\ \ | |/ | | | | RuntimeError exception. Patch by Christian Schubert.
| * Issue #8865: Concurrent invocation of select.poll.poll() now raises aSerhiy Storchaka2013-08-201-0/+13
| | | | | | | | RuntimeError exception. Patch by Christian Schubert.
* | Issue #18408: Fix select.select() to handle PyList_New() failure (MemoryError)Victor Stinner2013-07-081-3/+3
| | | | | | | | in set2list()
* | Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()Charles-Francois Natali2013-05-201-25/+25
| | | | | | | | when applicable.
* | Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bitCharles-Francois Natali2013-05-061-7/+28
|\ \ | |/ | | | | platforms. Patch by Federico Schwindt.
| * Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bitCharles-Francois Natali2013-05-061-7/+28
| | | | | | | | platforms. Patch by Federico Schwindt.
* | Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.Charles-François Natali2013-01-191-2/+2
|\ \ | |/ | | | | Patch by Jeffrey Armstrong.
| * Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.Charles-François Natali2013-01-191-2/+2
| |\ | | | | | | | | | Patch by Jeffrey Armstrong.
| | * Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.Charles-François Natali2013-01-191-2/+2
| | | | | | | | | | | | Patch by Jeffrey Armstrong.
| * | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-4/+8
| |\ \ | | |/ | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
| | * Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-4/+8
| | | | | | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
* | | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-141-4/+8
| | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks.
* | | Issue #16876: Revert be8e6b81284e, which wasn't thread-safe: wait until aCharles-François Natali2013-01-121-32/+13
| | | | | | | | | | | | solution is found for poll().
* | | Issue #16876: Optimize epoll.poll() by keeping a per-instance epoll eventsCharles-François Natali2013-01-091-13/+32
| | | | | | | | | | | | buffer instead of allocating a new one at each poll().
* | | Issue #16488: epoll() objects now support the `with` statement.Antoine Pitrou2012-12-151-0/+22
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Issue #16230: Fix a crash in select.select() when one the lists changes size ↵Antoine Pitrou2012-11-011-4/+2
|\ \ \ | |/ / | | | | | | | | | | | | while iterated on. Patch by Serhiy Storchaka.
| * | Issue #16230: Fix a crash in select.select() when one the lists changes size ↵Antoine Pitrou2012-11-011-4/+2
| |\ \ | | |/ | | | | | | | | | | | | while iterated on. Patch by Serhiy Storchaka.
| | * Issue #16230: Fix a crash in select.select() when one the lists changes size ↵Antoine Pitrou2012-11-011-4/+2
| | | | | | | | | | | | | | | | | | while iterated on. Patch by Serhiy Storchaka.
* | | #16135: Removal of OS/2 support (Modules/*)Jesus Cea2012-10-051-5/+0
|/ /
* | remove useless and defined initialization (closes #15921)Benjamin Peterson2012-09-111-1/+1
| |
* | MERGE: Closes #15395: memory leaks in selectmodule.cJesus Cea2012-07-191-1/+2
|\ \ | |/
| * Closes #15395: memory leaks in selectmodule.cJesus Cea2012-07-191-1/+2
| |
* | struct timeval.tv_usec is 4 bytes on 64-bit OS X as it should be, butBrett Cannon2012-04-071-1/+5
| | | | | | | | | | is defined as an int while everyone else expects a long regardless of length.