Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3cb5e17

Browse files
committed
doc(cmd): make sure people know wait() may block
Related to#357
1 parentec401e4 commit3cb5e17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎git/cmd.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
importthreading
1313
importerrno
1414
importmmap
15+
importwarnings
1516

1617
fromcontextlibimportcontextmanager
1718
fromsubprocessimport (
@@ -309,6 +310,7 @@ def __getattr__(self, attr):
309310
defwait(self):
310311
"""Wait for the process and return its status code.
311312
313+
:warn: may deadlock if output or error pipes are used and not handled separately.
312314
:raise GitCommandError: if the return status is not 0"""
313315
status=self.proc.wait()
314316
ifstatus!=0:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp