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
c3fcb969
Commit
c3fcb969
authored
9 years ago
by
Yury Selivanov
Browse files
Options
Browse Files
Download
Plain Diff
Merge 3.4
parents
60e3f367
4c0a09a0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Lib/asyncio/tasks.py
Lib/asyncio/tasks.py
+3
-2
No files found.
Lib/asyncio/tasks.py
View file @
c3fcb969
...
...
@@ -249,8 +249,9 @@ class Task(futures.Future):
result
.
_blocking
=
False
result
.
add_done_callback
(
self
.
_wakeup
)
self
.
_fut_waiter
=
result
if
self
.
_must_cancel
and
self
.
_fut_waiter
.
cancel
():
self
.
_must_cancel
=
False
if
self
.
_must_cancel
:
if
self
.
_fut_waiter
.
cancel
():
self
.
_must_cancel
=
False
else
:
self
.
_loop
.
call_soon
(
self
.
_step
,
None
,
...
...
This diff is collapsed.
Click to expand it.
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