Skip to content

Conversation

@ncoghlan
Copy link
Contributor

@ncoghlanncoghlan commented May 22, 2024

When updating the new exec note added in gh-119235 as part of the PEP 667 general docs PR, I suggested a workaround that isn't valid.

Since it's far from the first time I've considered that workaround, and the fact it doesn't work has surprised me every time, amend the new note to explicitly state that dict merging is the only option.


📚 Documentation preview 📚: https://cpython-previews--119378.org.readthedocs.build/

When updating the new exec note added in pythongh-119235 as part of the PEP 667 general docs PR, I suggested a workaround that isn't valid. Since it's far from the first time I've considered that workaround, and the fact it doesn't work has surprised me every time, amend the new note to explicitly state that dict merging is the only option.
@ncoghlanncoghlan added docs Documentation in the Doc dir skip issue skip news 3.13 bugs and security fixes 3.14 bugs and security fixes needs backport to 3.13 bugs and security fixes labels May 22, 2024
@ncoghlanncoghlan requested a review from gpsheadMay 22, 2024 05:00
@ncoghlanncoghlan self-assigned this May 22, 2024
@ncoghlan
Copy link
ContributorAuthor

Only backporting to 3.13, since the incorrect workaround was never added to the 3.12 note.

Copy link
Member

@gvanrossumgvanrossum left a comment

Choose a reason for hiding this comment

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

I would
Just delete the incorrect workaround. It doesn’t seem very valuable to explicitly document something that doesn’t work, nor the cumbersome copying.

@ncoghlan
Copy link
ContributorAuthor

Good point, done (and set to merge once CI is happy).

@ncoghlanncoghlan enabled auto-merge (squash) May 22, 2024 06:23
@ncoghlanncoghlan merged commit 31d61a7 into python:mainMay 22, 2024
@miss-islington-app
Copy link

Thanks @ncoghlan for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 22, 2024
When updating the new exec note added in pythongh-119235 as part of the PEP 667 general docs PR, I suggested a workaround that isn't valid. The first half of the note is still reasonable, so just omit the invalid text. (cherry picked from commit 31d61a7) Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
@bedevere-app
Copy link

GH-119380 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13 bugs and security fixes label May 22, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
When updating the new exec note added in pythongh-119235 as part of the PEP 667 general docs PR, I suggested a workaround that isn't valid. The first half of the note is still reasonable, so just omit the invalid text.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.13bugs and security fixes3.14bugs and security fixesdocsDocumentation in the Doc dirskip issueskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@ncoghlan@gvanrossum