There's a deprecation keyword one can use with lazy_import. See combinat/crystals/all.py for examples.
Best, Travis On Monday, December 1, 2014 5:54:08 AM UTC-8, Nathann Cohen wrote: > > Hello everybody ! > > I just met two situations in which we need to rename a module: 1) not > in the right folder; or 2) not the right name. > > Do we currently have a "deprecated_module_alias" implemented in a way > that I did not notice ? We would need to have a "fake" module > pointing toward the real one, which raises an exception the first time > it is imported. > > Thanks ! > > Nathann > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.