Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #22117: Replace usage of _PyTime_ROUND_UP with _PyTime_ROUND_CEILING | Victor Stinner | 2015-03-30 | 1 | -3/+4 | |
| | | | | | | | | | | All these functions only accept positive timeouts, so this change has no effect in practice. | |||||
* | | Issue #22117: Use the new _PyTime_t API in the select module | Victor Stinner | 2015-03-28 | 1 | -39/+20 | |
| | | ||||||
* | | Issue #23708: select.devpoll now retries its internal write() when interrupted | Victor Stinner | 2015-03-19 | 1 | -7/+3 | |
| | | | | | | | | | | | | by a signal (EINTR). Modify devpoll_flush() to use _Py_write() instead of calling directly write(). | |||||
* | | Issue #23694: Enhance _Py_open(), it now raises exceptions | Victor Stinner | 2015-03-18 | 1 | -8/+3 | |
|/ | | | | | | | | * _Py_open() now raises exceptions on error. If open() fails, it raises an OSError with the filename. * _Py_open() now releases the GIL while calling open() * Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not held | |||||
* | Issue #20656: Restore explicit downcast in select_select(). | Victor Stinner | 2014-02-18 | 1 | -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-bit | Victor Stinner | 2014-02-18 | 1 | -10/+12 | |
| | ||||||
* | Issue #20320: select.select() and select.kqueue.control() now round the timeout | Victor Stinner | 2014-02-17 | 1 | -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 Storchaka | 2014-02-09 | 1 | -2/+1 | |
|\ | ||||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -2/+1 | |
| | | ||||||
* | | Issue #20452: select and selectors round (again) timeout away from zero for | Victor Stinner | 2014-01-31 | 1 | -1/+3 | |
| | | | | | | | | | | | | poll and epoll Improve also debug info to analyze the issue | |||||
* | | (Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e), | Victor Stinner | 2014-01-25 | 1 | -3/+1 | |
|\ \ | |/ | | | | | select.epoll.poll() rounds again the timeout towards zero | |||||
| * | Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeout | Victor Stinner | 2014-01-25 | 1 | -3/+1 | |
| | | | | | | | | towards zero | |||||
* | | (Merge 3.3) Issue #20311: select.epoll.poll() now rounds the timeout away from | Victor Stinner | 2014-01-21 | 1 | -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 Stinner | 2014-01-21 | 1 | -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 code | Christian Heimes | 2013-12-21 | 1 | -14/+11 | |
| | | ||||||
* | | Issue #17919: Fixed integer overflow in the eventmask parameter. | Serhiy Storchaka | 2013-12-14 | 1 | -11/+29 | |
|\ \ | |/ | ||||||
| * | Issue #17919: Fixed integer overflow in the eventmask parameter. | Serhiy Storchaka | 2013-12-14 | 1 | -11/+29 | |
| | | ||||||
* | | Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX. | Serhiy Storchaka | 2013-12-13 | 1 | -3/+2 | |
|\ \ | |/ | ||||||
| * | Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX. | Serhiy Storchaka | 2013-12-13 | 1 | -3/+2 | |
| | | ||||||
* | | Fix indentation of switch cases. | Guido van Rossum | 2013-12-06 | 1 | -11/+11 | |
| | | ||||||
* | | Issue #19437: Fix select.epoll.poll(), fix code handling PyMem_New() error | Victor Stinner | 2013-10-30 | 1 | -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 file | Victor Stinner | 2013-08-28 | 1 | -1/+1 | |
| | | | | | | | | descriptor | |||||
* | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-28 | 1 | -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 now | Christian Heimes | 2013-08-25 | 1 | -1/+1 | |
|\ \ | |/ | | | | | properly handled as unsigned. | |||||
| * | Issue #11973: Fix a problem in kevent. The flags and fflags fields are now | Christian Heimes | 2013-08-25 | 1 | -1/+1 | |
| | | | | | | | | properly handled as unsigned. | |||||
* | | Fix devpoll_dealloc(). | Richard Oudkerk | 2013-08-22 | 1 | -1/+1 | |
| | | ||||||
* | | Move definition of devpoll_internal_close() before devpoll_close(). | Richard Oudkerk | 2013-08-22 | 1 | -15/+15 | |
| | | ||||||
* | | Fix compilation of select module on Solaris. | Richard Oudkerk | 2013-08-22 | 1 | -1/+1 | |
| | | ||||||
* | | Close #18794: Add a fileno() method and a closed attribute to select.devpoll | Victor Stinner | 2013-08-22 | 1 | -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 a | Serhiy Storchaka | 2013-08-20 | 1 | -0/+13 | |
|\ \ | |/ | | | | | RuntimeError exception. Patch by Christian Schubert. | |||||
| * | Issue #8865: Concurrent invocation of select.poll.poll() now raises a | Serhiy Storchaka | 2013-08-20 | 1 | -0/+13 | |
| | | | | | | | | RuntimeError exception. Patch by Christian Schubert. | |||||
* | | Issue #18408: Fix select.select() to handle PyList_New() failure (MemoryError) | Victor Stinner | 2013-07-09 | 1 | -3/+3 | |
| | | | | | | | | in set2list() | |||||
* | | Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant() | Charles-Francois Natali | 2013-05-20 | 1 | -25/+25 | |
| | | | | | | | | when applicable. | |||||
* | | Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit | Charles-Francois Natali | 2013-05-06 | 1 | -7/+28 | |
|\ \ | |/ | | | | | platforms. Patch by Federico Schwindt. | |||||
| * | Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit | Charles-Francois Natali | 2013-05-06 | 1 | -7/+28 | |
| | | | | | | | | platforms. Patch by Federico Schwindt. | |||||
* | | Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL. | Charles-François Natali | 2013-01-19 | 1 | -2/+2 | |
|\ \ | |/ | | | | | Patch by Jeffrey Armstrong. | |||||
| * | Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL. | Charles-François Natali | 2013-01-19 | 1 | -2/+2 | |
| |\ | | | | | | | | | | Patch by Jeffrey Armstrong. | |||||
| | * | Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL. | Charles-François Natali | 2013-01-19 | 1 | -2/+2 | |
| | | | | | | | | | | | | Patch by Jeffrey Armstrong. | |||||
| * | | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 1 | -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 overflow | Serhiy Storchaka | 2013-01-19 | 1 | -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 overflow | Serhiy Storchaka | 2013-01-15 | 1 | -4/+8 | |
| | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. | |||||
* | | | Issue #16876: Revert be8e6b81284e, which wasn't thread-safe: wait until a | Charles-François Natali | 2013-01-12 | 1 | -32/+13 | |
| | | | | | | | | | | | | solution is found for poll(). | |||||
* | | | Issue #16876: Optimize epoll.poll() by keeping a per-instance epoll events | Charles-François Natali | 2013-01-09 | 1 | -13/+32 | |
| | | | | | | | | | | | | buffer instead of allocating a new one at each poll(). | |||||
* | | | Issue #16488: epoll() objects now support the `with` statement. | Antoine Pitrou | 2012-12-15 | 1 | -0/+22 | |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | | Issue #16230: Fix a crash in select.select() when one the lists changes size ↵ | Antoine Pitrou | 2012-11-01 | 1 | -4/+2 | |
|\ \ \ | |/ / | | | | | | | | | | | | | while iterated on. Patch by Serhiy Storchaka. | |||||
| * | | Issue #16230: Fix a crash in select.select() when one the lists changes size ↵ | Antoine Pitrou | 2012-11-01 | 1 | -4/+2 | |
| |\ \ | | |/ | | | | | | | | | | | | | while iterated on. Patch by Serhiy Storchaka. | |||||
| | * | Issue #16230: Fix a crash in select.select() when one the lists changes size ↵ | Antoine Pitrou | 2012-11-01 | 1 | -4/+2 | |
| | | | | | | | | | | | | | | | | | | while iterated on. Patch by Serhiy Storchaka. | |||||
* | | | #16135: Removal of OS/2 support (Modules/*) | Jesus Cea | 2012-10-05 | 1 | -5/+0 | |
|/ / | ||||||
* | | remove useless and defined initialization (closes #15921) | Benjamin Peterson | 2012-09-11 | 1 | -1/+1 | |
| | | ||||||
* | | MERGE: Closes #15395: memory leaks in selectmodule.c | Jesus Cea | 2012-07-19 | 1 | -1/+2 | |
|\ \ | |/ |