On 1 June 2014 21:06, Ricordisamoa ricordisamoa@openmailbox.org wrote:
Does anyone know how to print a deprecation warning every time someone runs 'compat'? I have tried putting it in wikipedia.py, but with no results.
This was the trick used for the survey we had two years ago, on deprecating old python versions: https://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?...