Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/sage/misc/lazy_import.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,11 @@ def lazy_import(module, names, as_=None, *,
if namespace is None:
namespace = inspect.currentframe().f_locals
if "*" in names:
from sage.misc.superseded import deprecation_cython

deprecation_cython(37433,
'lazy_import of * is deprecated; provide the names to be imported explicitly')

ix = names.index("*")
all = get_star_imports(module)
names[ix:ix+1] = all
Expand Down