Skip to content

Remove unused imp import#2

Draft
Mirochill wants to merge 1 commit into
Alymantara:masterfrom
Mirochill:fix-1-remove-imp
Draft

Remove unused imp import#2
Mirochill wants to merge 1 commit into
Alymantara:masterfrom
Mirochill:fix-1-remove-imp

Conversation

@Mirochill

Copy link
Copy Markdown

Fixes #1.

Summary:

  • remove the unused imp import from pydoppler/pydoppler.py
  • avoid importing the removed stdlib module on Python versions where it is unavailable

Validation:

  • git diff --check HEAD~1..HEAD
  • Static search confirmed no remaining imp usage in pydoppler/pydoppler.py, pydoppler/__init__.py, or setup.py.
  • Not run locally.

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.

ModuleNotFoundError: No module named 'imp' when importing on Python 3.12+

1 participant