Skip to content

DeprecationWarning importing past.translation in Python 3.7 #419

Open
@tmnilsson

Description

@tmnilsson

I'm getting the following warning when importing past.translation:

past/translation/init.py:35: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp

Would it be possible to change from imp to importlib?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions