Commit f1fe1598 authored by Christian Heimes's avatar Christian Heimes

Issue #11973: Fix a problem in kevent. The flags and fflags fields are now

properly handled as unsigned.
parent 61636e71
...@@ -66,6 +66,9 @@ Core and Builtins ...@@ -66,6 +66,9 @@ Core and Builtins
Library Library
------- -------
- Issue #11973: Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.
- Issue #17702: On error, os.environb now removes suppress the except context - Issue #17702: On error, os.environb now removes suppress the except context
when raising a new KeyError with the original key. when raising a new KeyError with the original key.
......
...@@ -1638,7 +1638,7 @@ kqueue_event_init(kqueue_event_Object *self, PyObject *args, PyObject *kwds) ...@@ -1638,7 +1638,7 @@ kqueue_event_init(kqueue_event_Object *self, PyObject *args, PyObject *kwds)
PyObject *pfd; PyObject *pfd;
static char *kwlist[] = {"ident", "filter", "flags", "fflags", static char *kwlist[] = {"ident", "filter", "flags", "fflags",
"data", "udata", NULL}; "data", "udata", NULL};
static char *fmt = "O|hhi" DATA_FMT_UNIT UINTPTRT_FMT_UNIT ":kevent"; static char *fmt = "O|hHI" DATA_FMT_UNIT UINTPTRT_FMT_UNIT ":kevent";
EV_SET(&(self->e), 0, EVFILT_READ, EV_ADD, 0, 0, 0); /* defaults */ EV_SET(&(self->e), 0, EVFILT_READ, EV_ADD, 0, 0, 0); /* defaults */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment