Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9dd279a3
Commit
9dd279a3
authored
Aug 25, 2013
by
Christian Heimes
Browse files
Options
Browse Files
Download
Plain Diff
Issue #11973: Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.
parents
cfa47962
f1fe1598
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Misc/NEWS
Misc/NEWS
+3
-0
Modules/selectmodule.c
Modules/selectmodule.c
+1
-1
No files found.
Misc/NEWS
View file @
9dd279a3
...
@@ -40,6 +40,9 @@ Core and Builtins
...
@@ -40,6 +40,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 #18807: ``pyvenv`` now takes a --copies argument allowing copies
- Issue #18807: ``pyvenv`` now takes a --copies argument allowing copies
instead of symlinks even where symlinks are available and the default.
instead of symlinks even where symlinks are available and the default.
...
...
Modules/selectmodule.c
View file @
9dd279a3
...
@@ -1733,7 +1733,7 @@ kqueue_event_init(kqueue_event_Object *self, PyObject *args, PyObject *kwds)
...
@@ -1733,7 +1733,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|h
hi
"
DATA_FMT_UNIT
UINTPTRT_FMT_UNIT
":kevent"
;
static
char
*
fmt
=
"O|h
HI
"
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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment