A simpler implementation of deprecationWarning(). My earlier one was mostly adapted from warnings.warn(), and made use of a couple of internal Python functions (i.e. starting with underscores), including one which had changed its call signature at some point. So, this new code is simpler, and only uses public Python functions, and thus should be robust into the future.
A simpler implementation of deprecationWarning(). My earlier one was mostly adapted from warnings.warn(), and made use of a couple of internal Python functions (i.e. starting with underscores), including one which had changed its call signature at some point. So, this new code is simpler, and only uses public Python functions, and thus should be robust into the future.