peps icon indicating copy to clipboard operation
peps copied to clipboard

PEP 805: Safe Parallel Python

Open markshannon opened this issue 3 months ago • 4 comments


📚 Documentation preview 📚: https://pep-previews--4579.org.readthedocs.build/pep-0805/

markshannon avatar Sep 08 '25 16:09 markshannon

I don't understand the error: /home/runner/work/peps/peps/peps/pep-0805.rst:484: (WARNING/2) Inline emphasis start-string without end-string.

Line 484 is in a block of C code.

markshannon avatar Sep 08 '25 16:09 markshannon

Hmm, the build failure due to warnings from other PEPs is puzzling. I see that the last build used Sphinx v8.2.3 whereas a previous successful build from 30 minutes ago used Sphinx v8.0.2, so maybe that's related?

brianschubert avatar Sep 08 '25 17:09 brianschubert

Thanks @JelleZijlstra

markshannon avatar Sep 08 '25 21:09 markshannon

As far as prior art goes, it may be worth adding a brief mention of Rust's threading model as well, as that adopts a similar "thread local by default" approach to minimising the likelihood of encountering data races in multi-threaded programs.

ncoghlan avatar Oct 07 '25 15:10 ncoghlan