Skip to content

PEP 805: Safe Parallel Python#4579

Open
markshannon wants to merge 19 commits into
python:mainfrom
markshannon:safe-parallel
Open

PEP 805: Safe Parallel Python#4579
markshannon wants to merge 19 commits into
python:mainfrom
markshannon:safe-parallel

Conversation

@markshannon

@markshannon markshannon commented Sep 8, 2025

Copy link
Copy Markdown
Member

Comment thread peps/pep-0804.rst Outdated
@StanFromIreland StanFromIreland added the new-pep A new draft PEP submitted for initial review label Sep 8, 2025
@AA-Turner AA-Turner changed the title Safe parallel PEP 805: Safe Parallel Python Sep 8, 2025

@AA-Turner AA-Turner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two initial changes to fix the headers.

When this is ready for review, please could you wrap to 79 columns?

A

Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
@markshannon

Copy link
Copy Markdown
Member Author

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.

Comment thread peps/pep-0805.rst
Comment thread peps/pep-0805.rst
Comment thread peps/pep-0805.rst Outdated
@brianschubert

This comment was marked as resolved.

@JelleZijlstra JelleZijlstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few typos

Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@markshannon

Copy link
Copy Markdown
Member Author

Thanks @JelleZijlstra

Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Comment thread peps/pep-0805.rst Outdated
Co-authored-by: Truls Henriksson <trulshenriksson@gmail.com>
@ncoghlan

ncoghlan commented Oct 7, 2025

Copy link
Copy Markdown
Contributor

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.

Comment thread peps/pep-0805.rst Outdated
@markshannon markshannon marked this pull request as ready for review July 8, 2026 14:15
@markshannon markshannon requested a review from a team as a code owner July 8, 2026 14:15
markshannon and others added 2 commits July 8, 2026 15:15
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 pep-previews | 🛠️ Build #33497350 | 📁 Comparing df91af4 against latest (4813899)

  🔍 Preview build  

5 files changed · + 1 added · ± 4 modified

+ Added

± Modified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-pep A new draft PEP submitted for initial review

Projects

None yet

Development

Successfully merging this pull request may close these issues.