Skip to content

Conversation

@VegetarianOrc
Copy link
Contributor

What was changed

  • Use sys.stdlib_module_names in _restrictions.py now that we don't have to maintain the list separately for Python 3.9
  • Only warn on dynamic imports that are accidental (i.e. not passed through).

…ing to only apply to non-passed through modules
@VegetarianOrc VegetarianOrc requested a review from a team as a code owner November 24, 2025 18:06
@VegetarianOrc VegetarianOrc merged commit 77f2346 into main Nov 24, 2025
26 of 27 checks passed
@VegetarianOrc VegetarianOrc deleted the dynamic-import-warning-fix branch November 24, 2025 18:50
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.

3 participants