Message 216339 - Python tracker
ok, so in this case, I can only change the documentation with a ".. deprecated:". But for the future, how can we know we have to deprecate this function for >= 3.6 ? Will you parse the documentation and check there is an deprecation to add in the code? Or is there a file with the "future" deprecations? Are you agree with the deprecation in the documentation?