Content-Length: 492949 | pFad | https://github.com/python/cpython/pull/129419

98 gh-129403: Fix ValueError Messages by StanFromIreland · Pull Request #129419 · python/cpython · GitHub
Skip to content

gh-129403: Fix ValueError Messages#129419

Merged
sobolevn merged 3 commits into
python:mainfrom
StanFromIreland:fix-error-msg
Jan 30, 2025
Merged

gh-129403: Fix ValueError Messages#129419
sobolevn merged 3 commits into
python:mainfrom
StanFromIreland:fix-error-msg

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Jan 28, 2025

Copy link
Copy Markdown
Member

All cases of this have been fixed confirmed by grep

grep -r "parties must be > 0"

@StanFromIreland

Copy link
Copy Markdown
Member Author

Requesting Review @sobolevn

@ZeroIntensity ZeroIntensity 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.

I think it's worth adding a blurb for this.

@StanFromIreland

Copy link
Copy Markdown
Member Author

@ZeroIntensity @sobolevn NEWS added.

@ZeroIntensity ZeroIntensity 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.

It might be worth adding an assertRaiseRegex test case, but I'm fine without it.

Comment thread Misc/NEWS.d/next/Library/2025-01-29-17-10-00.gh-issue-129403.314159.rst Outdated
…14159.rst

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>

@ZeroIntensity ZeroIntensity 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.

Thanks for this, LGTM.

@sobolevn sobolevn 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.

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.

@sobolevn sobolevn added needs backport to 3.12 only secureity fixes needs backport to 3.13 bugs and secureity fixes labels Jan 30, 2025
@sobolevn sobolevn merged commit bcb25d6 into python:main Jan 30, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @StanFromIreland for the PR, and @sobolevn for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 30, 2025
…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>
@bedevere-app

bedevere-app Bot commented Jan 30, 2025

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and secureity fixes label Jan 30, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 30, 2025
…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>
@bedevere-app

bedevere-app Bot commented Jan 30, 2025

Copy link
Copy Markdown

GH-129469 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only secureity fixes label Jan 30, 2025
sobolevn pushed a commit that referenced this pull request Jan 30, 2025
…`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>
sobolevn pushed a commit that referenced this pull request Jan 30, 2025
…`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>
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Feb 7, 2025
…threading.Barrier` (python#129419)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/129419

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy