Skip to content

Switch from EAFP to LBYL #3794

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Switch from EAFP to LBYL #3794

wants to merge 11 commits into from

Conversation

schnellerhase
Copy link
Contributor

@schnellerhase schnellerhase commented Jul 10, 2025

Together with #3785 and #3790 - fixes #3738

@schnellerhase schnellerhase marked this pull request as ready for review July 10, 2025 19:43
@francesco-ballarin francesco-ballarin marked this pull request as draft July 11, 2025 04:54
@francesco-ballarin
Copy link
Member

Sorry @schnellerhase , I am moving it back to draft to avoid that anyone merges this, as it must be merged after #3785 and #3790 otherwise issue #3738 would be closed prematurely.

@francesco-ballarin francesco-ballarin marked this pull request as ready for review July 19, 2025 08:24
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.

LBYL vs. EAFP (isinstance vs. try/catch)
2 participants