The best solution that I found is to write wrappers like the following: def Tableaux_n(*args, **kargs): """ EXAMPLES::
sage: sage.combinat.tableau.Tableaux_n(3) doctest:1: DeprecationWarning: this class is deprecated. Use Tableaux_size instead See http://trac.sagemath.org/9265 for details. Tableaux of size 3 """ deprecation(9265,'this class is deprecated. Use Tableaux_size instead') return Tableaux(*args, **kargs) It works but it is not particularly elegant especially as there are about 10 of these spread across two files. Perhaps I have missed something obvious, but it really should not be this hard to simply rename an internal class and deprecate the old name. Andrew -- -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org