镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

PendingDeprecationWarning: the imp module is deprecated in favour of importlib #4

Open

Description

@voetsjoeba

Under Python 3.4, importing the twofish module yields the following warning when developer warnings are enabled (e.g. when running unit tests through the unittest module):

PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  PendingDeprecationWarning)

Activity

  1. hugovk commented on Apr 29, 2023

    @hugovk

    The imp module will be removed in Python 3.12:

    python/cpython#98040
    python/cpython#98573

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions