Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31893: Fix errors in b9052a0f91d2e83bbc27267247a5920c82b242a3. (GH-4196) ↵ | Miss Islington (bot) | 2017-10-31 | 1 | -4/+4 |
| | | | | | | | (#4201) * Fix a compilation error on FreeBSD. * Fix the data attribute size on Mac OS X. (cherry picked from commit 2298fad5ff907dd48ea0fb5c71fa22334ef28c6b) | ||||
* | bpo-31893: Fixed select.kqueue(). (GH-4166) (#4190) | Miss Islington (bot) | 2017-10-31 | 1 | -47/+71 |
| | | | | | * Fixed the layout of the kqueue_event structure on OpenBSD and NetBSD. * Fixed the comparison of the kqueue_event objects. (cherry picked from commit b9052a0f91d2e83bbc27267247a5920c82b242a3) | ||||
* | [3.6] bpo-31334: Fix timeout in select.poll.poll() (GH-3277) (#4033) | Miss Islington (bot) | 2017-10-18 | 1 | -9/+16 |
| | | | | | | | Always pass -1, or INFTIM where defined, to the poll() system call when a negative timeout is passed to the poll.poll([timeout]) method in the select module. Various OSes throw an error with arbitrary negative values. (cherry picked from commit 6cfa927ceb931ad968b5b03e4a2bffb64a8a0604) | ||||
* | [3.6] bpo-31786: Make functions in the select module blocking when timeout ↵ | Pablo Galindo | 2017-10-18 | 1 | -8/+8 |
| | | | | | is a small negative value. (GH-4003). (#4022) (cherry picked from commit 2c15b29aea5d6b9c61aa42d2c24a07ff1edb4b46) | ||||
* | [3.6] bpo-30058: Fixed buffer overflow in select.kqueue.control(). (GH-1095) ↵ | Miss Islington (bot) | 2017-10-12 | 1 | -16/+13 |
| | | | | | (#3973) (cherry picked from commit de072100775cc29e6cd93a75466cecbd1086f258) | ||||
* | bpo-28667: Fix a compile warning on FreeBSD when compare with FD_SETSIZE. ↵ | Victor Stinner | 2017-08-22 | 1 | -4/+4 |
| | | | | | | | (#501) (#3190) FreeBSD is the only platforms with unsigned FD_SETSIZE. (cherry picked from commit 783d0c1a1c723733adcdf4249240246fc35a5bcb) | ||||
* | Issue #28153: Make kqueue()'s event filters optional | Berker Peksag | 2016-09-14 | 1 | -0/+18 |
| | | | | Patch by Ed Schouten. | ||||
* | replace Py_(u)intptr_t with the c99 standard types | Benjamin Peterson | 2016-09-06 | 1 | -2/+2 |
| | |||||
* | Expose EPOLLRDHUP conditionally | Berker Peksag | 2016-08-08 | 1 | -0/+3 |
| | |||||
* | Issue #27567: Expose the POLLRDHUP constant in the select module | Berker Peksag | 2016-07-19 | 1 | -0/+8 |
| | |||||
* | add EPOLLEXCLUSIVE | Benjamin Peterson | 2016-07-19 | 1 | -0/+3 |
| | |||||
* | expose EPOLLRDHUP (closes #27567) | Benjamin Peterson | 2016-07-19 | 1 | -1/+1 |
| | |||||
* | merge from 3.5 | Senthil Kumaran | 2016-05-15 | 1 | -1/+1 |
|\ | | | | | | | issue27018 - Fix the documentation of select.epoll.register method. | ||||
| * | issue27018 - Fix the documentation of select.epoll.register method. | Senthil Kumaran | 2016-05-15 | 1 | -1/+1 |
| | | |||||
* | | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
|\ \ | |/ | | | | | messages. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
|/ | |||||
* | merge 3.4 (#25371) | Benjamin Peterson | 2015-10-11 | 1 | -2/+2 |
|\ | |||||
| * | add a missing comma (closes #25371) | Benjamin Peterson | 2015-10-11 | 1 | -2/+2 |
| | | |||||
* | | Issue #23652: Merge with 3.4 | Zachary Ware | 2015-08-02 | 1 | -0/+11 |
|\ \ | |/ | |||||
| * | Issue #23652: Make the select module compile against LSB headers. | Zachary Ware | 2015-08-02 | 1 | -0/+11 |
| | | | | | | | | Patch by Matt Frank. | ||||
* | | Issue #23485: select.devpoll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-31 | 1 | -43/+63 |
| | | |||||
* | | Issue #23485: select.kqueue.control() is now retried when interrupted by a ↵ | Victor Stinner | 2015-03-31 | 1 | -11/+34 |
| | | | | | | | | signal | ||||
* | | Issue #23485: select.epoll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-30 | 1 | -18/+51 |
| | | |||||
* | | Issue #23485: select.poll.poll() is now retried when interrupted by a signal | Victor Stinner | 2015-03-30 | 1 | -50/+83 |
| | | |||||
* | | Issue #23485: select.select() is now retried automatically with the recomputed | Victor Stinner | 2015-03-30 | 1 | -14/+39 |
| | | | | | | | | | | | | | | | | | | timeout when interrupted by a signal, except if the signal handler raises an exception. This change is part of the PEP 475. The asyncore and selectors module doesn't catch the InterruptedError exception anymore when calling select.select(), since this function should not raise InterruptedError anymore. | ||||
* | | 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-17 | 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-16 | 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-07 | 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-27 | 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. |