summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Issue #14180: Fix the select module to handle correctly the Windows timevalVictor Stinner2012-03-131-3/+16
| | | | | | | | structure. timeval.tv_sec is a long on Windows, not time_t.
* | Issue #14180: Fix another typo in kqueue_queue_control()Victor Stinner2012-03-131-1/+1
| |
* | Issue #14180: Fix select.select() compilation on BSD and a typo in ↵Victor Stinner2012-03-131-2/+4
| | | | | | | | kqueue_queue_control()
* | Close #14180: Factorize code to convert a number of seconds to time_t, ↵Victor Stinner2012-03-131-32/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | timeval or timespec time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now raises an OverflowError, instead of a ValueError, if the timestamp does not fit in time_t. datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now round microseconds towards zero instead of rounding to nearest with ties going away from zero.
* | try to always use the old APIBenjamin Peterson2011-12-271-4/+5
| |
* | fix for old kernels which don't have epoll_create1Benjamin Peterson2011-12-271-3/+9
| |
* | add a flags parameter to select.epollBenjamin Peterson2011-12-271-19/+15
| |
* | Issue #6397: Support '/dev/poll' polling objects in select module, under ↵Jesus Cea2011-11-141-0/+370
| | | | | | | | Solaris & derivatives.
* | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.Antoine Pitrou2011-10-121-16/+13
| |
* | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD isCharles-François Natali2011-08-281-8/+1
|\ \ | |/ | | | | greater than FD_SETSIZE.
| * Issue #12287: Fix a stack corruption in ossaudiodev module when the FD isCharles-François Natali2011-08-281-8/+1
| | | | | | | | greater than FD_SETSIZE.
* | merge 3.2Benjamin Peterson2011-06-271-1/+1
|\ \ | |/
| * Fix closes issue 11568 - update select.epoll.register docstring with mention ↵Senthil Kumaran2011-06-271-1/+1
| | | | | | | | of correct behavior.
* | Issue #11757: select.select() now raises ValueError when a negative timeoutAntoine Pitrou2011-04-091-0/+5
|/ | | | | is passed (previously, a select.error with EINVAL would be raised). Patch by Charles-François Natali.
* Issue #9566: use Py_ssize_t instead of intVictor Stinner2011-01-041-2/+1
|
* #9862: On AIX PIPE_BUF is broken. Make it 512.R. David Murray2010-10-151-0/+4
| | | | Patch by Sébastien Sablé.
* #6867: epoll.register() returns None.Georg Brandl2010-08-021-3/+2
|
* Merged revisions 79894-79895,80098,80120 via svnmerge fromBenjamin Peterson2010-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79894 | jeroen.ruigrok | 2010-04-07 09:33:37 -0500 (Wed, 07 Apr 2010) | 5 lines FreeBSD is not a sysv platform, so use freebsd.S instead of sysv.S (as is also the case in FreeBSD's port of libffi). Reviewed by: dickinsm ........ r79895 | jeroen.ruigrok | 2010-04-07 11:34:08 -0500 (Wed, 07 Apr 2010) | 2 lines Document the libffi FreeBSD fix. ........ r80098 | benjamin.peterson | 2010-04-15 16:42:16 -0500 (Thu, 15 Apr 2010) | 1 line add space ........ r80120 | antoine.pitrou | 2010-04-16 16:34:02 -0500 (Fri, 16 Apr 2010) | 3 lines Ignore jinja2 ........
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-1243/+1243
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........