Multiprocessing: facilitate worker processes printing to GUI shell
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Python
- Estrelas
- 77.2k
- Forks
- 36k
- Métricas de merge de PRs
- Métricas de PR pendentes
Descrição
Feature or enhancement
Currently, multiprocessing functions can be run in IDLE. However, the output of these functions is not displayed in the IDLE shell. This is because the fork done by multiprocessing does not duplicate or inherit the socket connection (https://stackoverflow.com/a/35297841/14432236).
Pitch
The output of multiprocessing functions should be displayed in the IDLE shell if the shell is run. For instance, this example code will be able to run without displaying a termination message if multiprocessing is enabled: https://github.com/python/cpython/issues/92571
Previous discussion
I believe that the last couple bugs that I filed are because of this issue: https://github.com/python/cpython/issues/92622 and https://github.com/python/cpython/issues/92571
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
A issue não menciona arquivos nem testes. Comece revisando as issues vinculadas 92571 e 92622 e investigando como o fork de multiprocessing afeta a conexão de socket usada pelo IDLE shell; considera-se concluído quando a saída do processo worker aparece no IDLE shell sem uma mensagem de término.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- desktop
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 32/100