Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-129766: Fix crash on calling warnings._release_lock with no lock#129771

Merged
sobolevn merged 1 commit into
python:mainpython/cpython:mainfrom
sobolevn:issue-129766sobolevn/cpython:issue-129766Copy head branch name to clipboard
Feb 7, 2025
Merged

gh-129766: Fix crash on calling warnings._release_lock with no lock#129771
sobolevn merged 1 commit into
python:mainpython/cpython:mainfrom
sobolevn:issue-129766sobolevn/cpython:issue-129766Copy head branch name to clipboard

Conversation

@sobolevn

@sobolevn sobolevn commented Feb 7, 2025

Copy link
Copy Markdown
Member

After:

>>> import warnings
>>> warnings._release_lock()
Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    warnings._release_lock()
    ~~~~~~~~~~~~~~~~~~~~~~^^
RuntimeError: cannot release un-acquired lock

Refs #128386
Refs #128384

@sobolevn sobolevn merged commit ae132ed into python:main Feb 7, 2025
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.