Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input() call blocks multiprocessing #71070

Open
the mannequin opened this issue Apr 29, 2016 · 1 comment
Open

input() call blocks multiprocessing #71070

the mannequin opened this issue Apr 29, 2016 · 1 comment
Labels
OS-windows topic-multiprocessing type-bug An unexpected behavior, bug, or error

Comments

@the
Copy link
Mannequin

the mannequin commented Apr 29, 2016

BPO 26883
Nosy @pfmoore, @tjguk, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2016-04-29.09:54:24.724>
labels = ['type-bug', 'OS-windows']
title = 'input() call blocks multiprocessing'
updated_at = <Date 2016-04-29.09:54:24.724>
user = 'https://bugs.python.org/the'

bugs.python.org fields:

activity = <Date 2016-04-29.09:54:24.724>
actor = 'the'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Windows']
creation = <Date 2016-04-29.09:54:24.724>
creator = 'the'
dependencies = []
files = []
hgrepos = []
issue_num = 26883
keywords = []
message_count = 1.0
messages = ['264480']
nosy_count = 5.0
nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'the']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue26883'
versions = ['Python 3.4', 'Python 3.5']

@the
Copy link
Mannequin Author

the mannequin commented Apr 29, 2016

If input is called right away after applying a single job to multiprocessing.Pool or submitting concurrent.futures.ProcessPoolExecutor then the processes are not started. If multiple jobs are submitted everything works fine.

This only seems to be a problem on Windows (probably only 10) and python version 3.x

See my stackoverflow question: http://stackoverflow.com/questions/36919678/python-multiprocessing-pool-does-not-start-right-away

@the the mannequin added OS-windows type-bug An unexpected behavior, bug, or error labels Apr 29, 2016
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-windows topic-multiprocessing type-bug An unexpected behavior, bug, or error
Projects
Status: No status
Development

No branches or pull requests

1 participant