quarto-dev / quarto-dev/quarto
Bug? Problems in VSCode when running multiprocessing
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
- When running code in a python block that calls multiprocessing, the
jupyterkernel hits a set of errors related to invalid syntax - I am not sure if its a config issue or a fundamental limitation of multiprocessing but if possible, it would be nice to address.
QMD below --------------------------------------------------
title: "multitest"
Quarto
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
from multiprocessing import Pool
def f(x):
return x * x
with Pool(2) as p:
p.map(f, range(100))
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the embedded QMD example in VSCode, starting with the Python block that uses multiprocessing.Pool and the reported Jupyter kernel syntax errors. Compare the behavior with and without multiprocessing to determine whether configuration or a limitation is involved. Done means the example runs without the reported errors, or the limitation and required configuration are clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter, python, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100