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
587feb19
Commit
587feb19
authored
Jan 09, 2015
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23209: Break some reference cycles in asyncio. Patch written by Martin
Richard.
parent
70db9e42
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
Lib/asyncio/base_subprocess.py
Lib/asyncio/base_subprocess.py
+1
-0
Lib/asyncio/futures.py
Lib/asyncio/futures.py
+1
-1
Lib/selectors.py
Lib/selectors.py
+1
-0
No files found.
Lib/asyncio/base_subprocess.py
View file @
587feb19
...
...
@@ -182,6 +182,7 @@ class WriteSubprocessPipeProto(protocols.BaseProtocol):
def
connection_lost
(
self
,
exc
):
self
.
disconnected
=
True
self
.
proc
.
_pipe_connection_lost
(
self
.
fd
,
exc
)
self
.
proc
=
None
def
pause_writing
(
self
):
self
.
proc
.
_protocol
.
pause_writing
()
...
...
Lib/asyncio/futures.py
View file @
587feb19
...
...
@@ -405,5 +405,5 @@ def wrap_future(fut, *, loop=None):
new_future
.
add_done_callback
(
_check_cancel_other
)
fut
.
add_done_callback
(
lambda
future
:
loop
.
call_soon_threadsafe
(
new_future
.
_copy_state
,
fut
))
new_future
.
_copy_state
,
fut
ure
))
return
new_future
Lib/selectors.py
View file @
587feb19
...
...
@@ -256,6 +256,7 @@ class _BaseSelectorImpl(BaseSelector):
def
close
(
self
):
self
.
_fd_to_key
.
clear
()
self
.
_map
=
None
def
get_map
(
self
):
return
self
.
_map
...
...
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