Description
I see that to_filespec
was deprecated in 2010 (36d8c21, i.e. upstream/1.0.0.dev~16) so may be it is time to prune those which were marked deprecated in 1.x series completely in 2.x or at least in some 3.x at least whenever that one comes?
Now it seems a good portion of .to_
methods is deprecated, complicating "guess writing" of code via completions ;)
I think I saw somewhere (thought it was numpy but their decorator seems to be not as sophisticated), some decorator so you could mark your version when you are going to deprecate the method, so if originally you did
@deprecate('2.0.0')
def to_be_removed():
then whenever you release 2.0.0 (adjust __version__
to be 2.0.0), it would simply cause an error demanding physical removal, and thus reminding about necessity... or I just dreamed it up?