Skip to content

gh-134451: Delete @dataclass for asyncio.tools.CycleFoundException class #134513

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 23, 2025

Conversation

RenameMe1
Copy link
Contributor

@RenameMe1 RenameMe1 commented May 22, 2025

@python-cla-bot
Copy link

python-cla-bot bot commented May 22, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented May 22, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@RenameMe1
Copy link
Contributor Author

@sobolevn can you see, please?

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Do we use __hash__ / __eq__ / __gt__ or something with this class?

@kumaraditya303 kumaraditya303 enabled auto-merge (squash) May 23, 2025 04:50
@kumaraditya303 kumaraditya303 added the needs backport to 3.14 bugs and security fixes label May 23, 2025
@kumaraditya303
Copy link
Contributor

Do we use hash / eq / gt or something with this class?

No, dataclass was used to just avoid manually writing __init__.

@sobolevn sobolevn changed the title gh-134451: Deleted @dataclass for asyncio.tools. CycleFoundException class gh-134451: Delete @dataclass for asyncio.tools.CycleFoundException class May 23, 2025
@kumaraditya303 kumaraditya303 merged commit f9324cb into python:main May 23, 2025
45 checks passed
@miss-islington-app
Copy link

Thanks @RenameMe1 for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 23, 2025
…ataclass to a regular exception type. (pythonGH-134513)

(cherry picked from commit f9324cb)

Co-authored-by: Evgeny Demchenko <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented May 23, 2025

GH-134564 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label May 23, 2025
@sobolevn
Copy link
Member

Oh, never mind - these were just my small nitpicks :)
Thanks, @RenameMe1!

kumaraditya303 pushed a commit that referenced this pull request May 23, 2025
…dataclass to a regular exception type. (GH-134513) (#134564)

gh-134451: Converted `asyncio.tools.CycleFoundException` from dataclass to a regular exception type. (GH-134513)
(cherry picked from commit f9324cb)

Co-authored-by: Evgeny Demchenko <[email protected]>
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