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
1241ecc2
Commit
1241ecc2
authored
Jan 30, 2015
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23347, asyncio: Make BaseSubprocessTransport.wait() private
parent
0698638d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
Lib/asyncio/base_subprocess.py
Lib/asyncio/base_subprocess.py
+1
-1
Lib/asyncio/subprocess.py
Lib/asyncio/subprocess.py
+1
-1
Lib/asyncio/unix_events.py
Lib/asyncio/unix_events.py
+1
-1
Lib/asyncio/windows_events.py
Lib/asyncio/windows_events.py
+1
-1
No files found.
Lib/asyncio/base_subprocess.py
View file @
1241ecc2
...
@@ -208,7 +208,7 @@ class BaseSubprocessTransport(transports.SubprocessTransport):
...
@@ -208,7 +208,7 @@ class BaseSubprocessTransport(transports.SubprocessTransport):
waiter
.
set_result
(
returncode
)
waiter
.
set_result
(
returncode
)
self
.
_exit_waiters
=
None
self
.
_exit_waiters
=
None
def
wait
(
self
):
def
_
wait
(
self
):
"""Wait until the process exit and return the process return code.
"""Wait until the process exit and return the process return code.
This method is a coroutine."""
This method is a coroutine."""
...
...
Lib/asyncio/subprocess.py
View file @
1241ecc2
...
@@ -115,7 +115,7 @@ class Process:
...
@@ -115,7 +115,7 @@ class Process:
"""Wait until the process exit and return the process return code.
"""Wait until the process exit and return the process return code.
This method is a coroutine."""
This method is a coroutine."""
return
(
yield
from
self
.
_transport
.
wait
())
return
(
yield
from
self
.
_transport
.
_
wait
())
def
send_signal
(
self
,
signal
):
def
send_signal
(
self
,
signal
):
self
.
_transport
.
send_signal
(
signal
)
self
.
_transport
.
send_signal
(
signal
)
...
...
Lib/asyncio/unix_events.py
View file @
1241ecc2
...
@@ -188,7 +188,7 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):
...
@@ -188,7 +188,7 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):
yield
from
waiter
yield
from
waiter
except
:
except
:
transp
.
close
()
transp
.
close
()
yield
from
transp
.
wait
()
yield
from
transp
.
_
wait
()
raise
raise
return
transp
return
transp
...
...
Lib/asyncio/windows_events.py
View file @
1241ecc2
...
@@ -375,7 +375,7 @@ class ProactorEventLoop(proactor_events.BaseProactorEventLoop):
...
@@ -375,7 +375,7 @@ class ProactorEventLoop(proactor_events.BaseProactorEventLoop):
yield
from
waiter
yield
from
waiter
except
:
except
:
transp
.
close
()
transp
.
close
()
yield
from
transp
.
wait
()
yield
from
transp
.
_
wait
()
raise
raise
return
transp
return
transp
...
...
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