Page 1 sur 1

parser bug in 1.5.0-65+

Publié : jeu. oct. 17, 2019 7:33 am
par dimpase
It appears that len() is broken in versions 65 and later:
0>> len(x)
1
// Time 0
1>> len(x,y)
1
// Time 0
2>> len(x,y,z)
3
// Time 0

So something is wrong with len(x,y)

This was reported on https://groups.google.com/d/msg/sage-pa ... 0lPY-vDgAJ

Dima

Re: parser bug in 1.5.0-65+

Publié : jeu. oct. 17, 2019 12:43 pm
par parisse
It's a side-effect of the changes I made to find the memory size of objects for devices with a (very) small amount of RAM. I will disable it. I'll keep only size() for diagnostics.

Code : Tout sélectionner

diff vecteur.cc vecteur.cc~
15033c15033
<       if (0 && s==2){
---
>       if (s==2){

Re: parser bug in 1.5.0-65+

Publié : jeu. oct. 24, 2019 11:52 am
par parisse
Fixed in 1.5.0-69.