Karim Belabas on Mon, 08 Aug 2016 13:55:45 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GP reference cards


* Karim Belabas [2016-08-08 13:24]:
> * Bill Allombert [2016-08-08 12:52]:
> > On Mon, Aug 08, 2016 at 12:36:26PM +0200, Karim Belabas wrote:
> > > * Jeroen Demeyer [2016-08-08 09:34]:
> > > > On 2016-08-06 20:40, Karim Belabas wrote:
> > > > > N.B. All non-deprecated GP functions
> > > > 
> > > > Speaking of deprecation, is there a machine-readable way of determining
> > > > whether a given GP function is deprecated? I think we talked about this at
> > > > the PARI atelier. It would be useful to add some flag to pari.desc for
> > > > deprecated functions.
> > > 
> > > Yes, the current situation is a little awkward. The following script
> > > produces the list of obsolete defaults and functions with master
> > > (it doesn't in 2.8.0: misses 2 or 3 functions).
> > 
> > Maybe we could simply add a RFC822 field Obsolete: yes
> 
> I agree. That's what I meant by "awkward" :-)

I ended up adding the date of the commit obsoleting the function:

% grep Obsolete: **/*(.)  | sort -rk 2
number_fields/matbasistoalg:Obsolete: 2016-08-08
number_fields/matalgtobasis:Obsolete: 2016-08-08
number_fields/factornf:Obsolete: 2016-08-08
linear_algebra/qfnorm:Obsolete: 2016-08-08
linear_algebra/qfbil:Obsolete: 2016-08-08
number_fields/bnrconductorofchar:Obsolete: 2015-11-11
polynomials/bezoutres:Obsolete: 2015-01-13
conversions/sizedigit:Obsolete: 2015-01-13
default/strictmatch:Obsolete: 2014-10-11
default/compatible:Obsolete: 2014-10-11
elliptic_curves/ellbil:Obsolete: 2014-05-21
number_fields/rnfpolredabs:Obsolete: 2013-12-28
number_fields/rnfpolred:Obsolete: 2013-12-28
polynomials/poltchebi:Obsolete: 2013-04-03
number_theoretical/bezout:Obsolete: 2013-04-03
number_fields/polred:Obsolete: 2013-03-27
elliptic_curves/ellpow:Obsolete: 2012-06-06
programming/trap:Obsolete: 2012-01-17
number_fields/polredord:Obsolete: 2008-07-20
programming/global:Obsolete: 2007-10-03
programming/listkill:Obsolete: 2007-08-10
programming/listcreate:Obsolete: 2007-08-10
graphic/plotpointtype:Obsolete: 2007-05-11
graphic/plotpointsize:Obsolete: 2007-05-11
graphic/plotlinetype:Obsolete: 2007-05-11
transcendental/bernvec:Obsolete: 2007-03-30

N.B. pari-2.7.0 was released on 2014-03-24
     pari-2.5.0 was released on 2011-06-22
     pari-2.3.0 was released on 2006-05-19

It would make sense to actually remove functions that became obsolete
long ago (before 2.5.0, say ?)

Cheers,

    K.B.
--
Karim Belabas, IMB (UMR 5251)  Tel: (+33) (0)5 40 00 26 17
Universite de Bordeaux         Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~kbelabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]
`