New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
py3: fix DeprecationWarning of imp in sage.misc.inline_fortran #25703
Labels
Milestone
Comments
Commit: |
New commits:
|
comment:3
is this a (better) duplicate of #25599 ? |
comment:4
ok |
Reviewer: Frédéric Chapoton |
comment:5
I believe this issue can reasonably be addressed for Sage 8.4. |
Changed branch from u/embray/python3/sage-misc-inline_fortran/module-import to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This adds a new
_import_module_from_path
that encapsulates the existing code from this module for searching a directory for a module and importing it, but implements in both Python 2 and Python 3(.4+) compatible ways.I think in theory this utility could be made public, and moved to a more general module, but I couldn't decide where so I just left it here for now. Maybe if another use case is found for it...
Component: python3
Author: Erik Bray
Branch/Commit:
8261915
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/25703
The text was updated successfully, but these errors were encountered: