Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15886)

Issue 183310044: Fix subprocess when using close_fds=False

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 4 months ago by haypo_gmail
Modified:
9 years, 4 months ago
Reviewers:
yselivanov
Visibility:
Public.

Description

Fix subprocess when using close_fds=False

Patch Set 1 #

Total comments: 1

Patch Set 2 : Cleanup the fcntl import #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2 lines) Patch
M asyncio/unix_events.py View 1 4 chunks +22 lines, -2 lines 0 comments Download
M tests/test_subprocess.py View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 1
yselivanov
9 years, 4 months ago (2014-12-11 17:19:23 UTC) #1
I like this patch.

https://codereview.appspot.com/183310044/diff/1/asyncio/unix_events.py
File asyncio/unix_events.py (right):

https://codereview.appspot.com/183310044/diff/1/asyncio/unix_events.py#newcod...
asyncio/unix_events.py:556: def _set_inheritable(fd, inheritable):
I'd simply put "import fcntl" above this line.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b