This is very good. I think this should become a part of some dev script. So 
that it creates warnings every time there is an old deprecation (>1y old) 
while sage is being packaged!!

On Tuesday, December 24, 2013 5:13:32 AM UTC+8, Nathann Cohen wrote:
>
> Hellooooooooooo !!
>
> I just wrote this script, which lets you find old deprecations in Sage's 
> code. Just some bash and calls to git. If you run "./fdep . | sort -u" (and 
> wait a bit) you will get the list of occurrences of "deprecation(...." in 
> Sage, sorted by age.
>
> Whiiiiich makes it a nice tool to spot stuff which should have been 
> deprecated long ago.
>
> Now, is there a way to use it collectively ? Like in "sage -coverage" or 
> stuff like that ? I tried to remove all these codes by myself a couple of 
> days ago, to just notice it was beyond me :-P
>
> 2011-04-29 #3416 ./schemes/elliptic_curves/constructor.py
> 2011-05-20 #9265 ./combinat/skew_tableau.py
> 2011-05-20 #9265 ./combinat/tableau.py
> 2011-08-03 #11360 ./groups/perm_gps/cubegroup.py
> 2011-08-22 #7748 ./functions/exp_integral.py
> 2011-09-08 #11634 ./geometry/polyhedron/base.py
> 2011-09-08 #11763 ./geometry/polyhedron/base.py
> 2012-01-01 #10358 ./databases/sloane.py
> 2012-06-15 #12930 ./combinat/alternating_sign_matrix.py
> 2012-06-30 #12484 ./misc/misc.py
>
> Nathann
>
> P.S. : Some calls to deprecations are actually older than that, but this 
> script works by asking git when each line was last modified. Thuuuuuuuuus 
> some deprecation can appear to be younger than they are ;-)
>  

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to