Skip to content

gh-144851: Fix __lazy_import__ crash with user-defined filters#144852

Open
johnslavik wants to merge 8 commits intopython:mainfrom
johnslavik:fix-lazy-import-crash
Open

gh-144851: Fix __lazy_import__ crash with user-defined filters#144852
johnslavik wants to merge 8 commits intopython:mainfrom
johnslavik:fix-lazy-import-crash

Conversation

@johnslavik
Copy link
Member

@johnslavik johnslavik commented Feb 15, 2026

Writing a test shortly, still in progress!

@johnslavik
Copy link
Member Author

Skipping news as this is still unreleased.

@johnslavik johnslavik changed the title gh-144851: Fix __lazy_import__ crash gh-144851: Fix __lazy_import__ crash with user-defined filters Feb 21, 2026
@johnslavik
Copy link
Member Author

Hold on, this flow is more complicated than I thought...

@johnslavik
Copy link
Member Author

johnslavik commented Feb 27, 2026

OK, it's fine. All paths are good. 👍🏽

EDIT: I'm not sure we run all tests in CI. I'm adding a test to test the test.

@johnslavik
Copy link
Member Author

We're not running test_lazy_imports in CI. I'm not sure if this is intended. I'll investigate further outside of this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant