Skip to content

Raise ContextAlreadyEnteredError if trying to use context manager twice without exiting first#476

Merged
fohrloop merged 2 commits intomainfrom
issue-475-prevent-entering-twice
Jul 25, 2025
Merged

Raise ContextAlreadyEnteredError if trying to use context manager twice without exiting first#476
fohrloop merged 2 commits intomainfrom
issue-475-prevent-entering-twice

Conversation

@fohrloop
Copy link
Copy Markdown
Member

@fohrloop fohrloop commented Jul 25, 2025

Fixes: #475

@fohrloop fohrloop merged commit 7d1ca93 into main Jul 25, 2025
17 checks passed
@fohrloop fohrloop deleted the issue-475-prevent-entering-twice branch July 26, 2025 12:48
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.

Prevent calling __enter__() twice with the same Mode instance

1 participant