gh-129403: Fix ValueError Messages#129419
Conversation
|
Requesting Review @sobolevn |
ZeroIntensity
left a comment
There was a problem hiding this comment.
I think it's worth adding a blurb for this.
|
@ZeroIntensity @sobolevn NEWS added. |
ZeroIntensity
left a comment
There was a problem hiding this comment.
It might be worth adding an assertRaiseRegex test case, but I'm fine without it.
…14159.rst Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
sobolevn
left a comment
There was a problem hiding this comment.
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.
|
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 commit bcb25d6) 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 the 3.13 branch. |
…threading.Barrier` (pythonGH-129419) (cherry picked from commit bcb25d6) 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 the 3.12 branch. |
…`threading.Barrier` (GH-129419) (#129469) gh-129403: Fix `ValueError` messages in `asyncio.Barrier` and `threading.Barrier` (GH-129419) (cherry picked from commit bcb25d6) 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 commit bcb25d6) 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>
All cases of this have been fixed confirmed by grep
grep -r "parties must be > 0"Barrier.__init__#129403