I think DeprecationWarning fits better than a general Warning: http://docs.python.org/2.7/library/exceptions.html#exceptions.DeprecationWarning