Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-129403: Fix ValueError Messages#129419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
StanFromIreland commentedJan 28, 2025
Requesting Review@sobolevn |
ZeroIntensity left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I think it's worth adding a blurb for this.
StanFromIreland commentedJan 29, 2025
@ZeroIntensity@sobolevn NEWS added. |
ZeroIntensity left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Itmight be worth adding anassertRaiseRegex test case, but I'm fine without it.
Misc/NEWS.d/next/Library/2025-01-29-17-10-00.gh-issue-129403.314159.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…14159.rstCo-authored-by: Peter Bierma <zintensitydev@gmail.com>
ZeroIntensity left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks for this, LGTM.
sobolevn left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thank you! We generally don't backport the error message changes, but these ones were incorrect, so I treat them as bugs, so I will backport these changes.
bcb25d6 intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@StanFromIreland for the PR, and@sobolevn for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…threading.Barrier` (pythonGH-129419)(cherry picked from commitbcb25d6)Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
GH-129468 is a backport of this pull request to the3.13 branch. |
…threading.Barrier` (pythonGH-129419)(cherry picked from commitbcb25d6)Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
GH-129469 is a backport of this pull request to the3.12 branch. |
…`threading.Barrier` (GH-129419) (#129469)gh-129403: Fix `ValueError` messages in `asyncio.Barrier` and `threading.Barrier` (GH-129419)(cherry picked from commitbcb25d6)Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
…`threading.Barrier` (GH-129419) (#129468)gh-129403: Fix `ValueError` messages in `asyncio.Barrier` and `threading.Barrier` (GH-129419)(cherry picked from commitbcb25d6)Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
…threading.Barrier` (python#129419)Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
All cases of this have been fixed confirmed by grep
grep -r "parties must be > 0"Barrier.__init__#129403