cypari2 icon indicating copy to clipboard operation
cypari2 copied to clipboard

patch from Bill Allombert for member functions

Open fchapoton opened this issue 4 years ago • 8 comments

new tentative for #51

Not tested yet. This would also need a doctest.

fchapoton avatar Aug 28 '20 07:08 fchapoton

Selon Bill:

bnf.pol devient member_pol(bnf)

fchapoton avatar Aug 28 '20 07:08 fchapoton

Ideally, these would be attributes of the Gen class.

videlec avatar Aug 28 '20 07:08 videlec

(without member_)

videlec avatar Aug 28 '20 07:08 videlec

un truc qui marche serait deja mieux que rien..

fchapoton avatar Aug 28 '20 08:08 fchapoton

Oui et non. On ne peut pas changer brutalement les noms des méthodes de Gen d'une version de cypari2 à l'autre.

videlec avatar Aug 28 '20 08:08 videlec

Et Travis, il est pas content..

fchapoton avatar Aug 28 '20 08:08 fchapoton

Voilà mon grain de sel: bnf.pol -> member_pol(bnf) n'est pas une amélioration.

  • Marc

On Fri, Aug 28, 2020 at 3:09 AM Frédéric Chapoton [email protected] wrote:

Et Travis, il est pas content..

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sagemath/cypari2/pull/95#issuecomment-682391101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ6CP4BUWALWQGY72LNDTTSC5Q3XANCNFSM4QN2RC6A .

culler avatar Aug 28 '20 18:08 culler

Quelqu'un a une meilleure idée ?

Voir par exemple la methode _pari_conversion dans le fichier src/sage/modular/dirichlet.py pour un endroit où on peut pas utiliser ce qu'on voudrait..

et voir aussi #92 qui marche pas non plus

fchapoton avatar Aug 28 '20 18:08 fchapoton