Skip to content

fix pdb in the child process by ensuring stdin is fd 0#15

Merged
digitalresistor merged 1 commit into
masterfrom
fix/stdin-readline
Mar 8, 2017
Merged

fix pdb in the child process by ensuring stdin is fd 0#15
digitalresistor merged 1 commit into
masterfrom
fix/stdin-readline

Conversation

@mmerickel

Copy link
Copy Markdown
Member

Python's input() builtin will only use readline support if the stdin fd
matches the one the process started with (0 on unix systems). This patch
restores the duped fd onto fd 0 after multiprocessing closed the
original copy.

Python's input() builtin will only use readline support if the stdin fd
matches the one the process started with (0 on unix systems). This patch
restores the duped fd onto fd 0 after multiprocessing closed the
original copy.
@mmerickel mmerickel mentioned this pull request Mar 8, 2017
@digitalresistor digitalresistor merged commit e2d0738 into master Mar 8, 2017
@digitalresistor digitalresistor deleted the fix/stdin-readline branch March 8, 2017 05:50
mmerickel added a commit that referenced this pull request Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants