Skip to content
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

_decimal leaks references #123243

Closed
neonene opened this issue Aug 22, 2024 · 0 comments
Closed

_decimal leaks references #123243

neonene opened this issue Aug 22, 2024 · 0 comments
Labels
extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error

Comments

@neonene
Copy link
Contributor

neonene commented Aug 22, 2024

Bug report

Bug description:

The following leaks can be seen since a43cc3f, fb0d9b9:

>python -X showrefcount -c "import _decimal"
[7117 refs, 4232 blocks] 

CPython versions tested on:

3.13, CPython main branch

Operating systems tested on:

Windows

Linked PRs

@neonene neonene added the type-bug An unexpected behavior, bug, or error label Aug 22, 2024
@Eclips4 Eclips4 added the extension-modules C modules in the Modules dir label Aug 22, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 24, 2024
kumaraditya303 pushed a commit that referenced this issue Aug 24, 2024
gh-123243: Fix reference leak in `_decimal` (GH-123244)
(cherry picked from commit 5ff638f)

Co-authored-by: neonene <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants