Public bug reported:

python 2.5 with ubuntu 7.10 gusty , i386 and x64 tried on three different 
machines , complete reinstall of the os on one of the machines.  
Ok get this I modify a file I am working on , type python driver.py to start my 
app. It doesn't work , the next time I type the same command it runs correctly. 
The same source code produces different results. 
the app I am working on it for computational geometry class, and this is 
driving me nuts, god help me I am about to do my dev work on my windows box. 
Please the bug existed on a default install from ubuntu , I added to python 2.4 
to one of my machines to try the different compiler . I don't know the inner 
workings of python and how it handles compiles but there is something really 
wrong. I was trying to see if there were any weird characters in any of the 
files ,  there were none. I will get a tar ball to someone if they think they 
can help.  READ BELOW to see the "fun" I have had. 
 python driver.py 

rendering original subdivision
  
split DCEL.Edge from <50, 250> to <75, 180>
ERROR
handle Split method threw error None    DCEL.Edge from <50, 250> to <75, 180>
  
split DCEL.Edge from <105, 195> to <110, 120>
ERROR
handle Split method threw error None    DCEL.Edge from <105, 195> to <110, 120>
  
end DCEL.Edge from <75, 180> to <105, 195>
Edge  DCEL.Edge from <50, 250> to <75, 180>  not in tree
*****************************************************************************************************
Now I run it with python2.4 

python2.4  driver.py

rendering original subdivision
  
start DCEL.Edge from <50, 250> to <20, 175>*****LOOK HERE THIS IS THE SAME 
POINT BUT RETURNED A DIFFERENT RESULT.  
insert size  1
Insert  DCEL.Edge from <50, 250> to <20, 175>  from the tree 
  
start DCEL.Edge from <105, 195> to <75, 180>
insert size  2
Insert  DCEL.Edge from <105, 195> to <75, 180>  from the tree 
  
merge DCEL.Edge from <75, 180> to <50, 250>
Remove  DCEL.Edge from <105, 195> to <75, 180>  from the tree 
Size : 1
  
regular DCEL.Edge from <20, 175> to <40, 145>
new diag from  <20, 175>  to  <75, 180>
Remove  DCEL.Edge from <50, 250> to <20, 175>  from the tree 
Size : 0
insert size  1
Insert  DCEL.Edge from <20, 175> to <40, 145>  from the tree 
*************************************************8
Now I try to run it in python 2.5 again , now it returns a different result . 


python driver.py 

rendering original subdivision
  
start DCEL.Edge from <50, 250> to <20, 175>***************WHAT NOW IT IS START 
VERTEX ARGGH  !!!
insert size  1
Insert  DCEL.Edge from <50, 250> to <20, 175>  from the tree 
  
start DCEL.Edge from <105, 195> to <75, 180>
insert size  2
Insert  DCEL.Edge from <105, 195> to <75, 180>  from the tree

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
python inconsistent compiling really it is broken
https://bugs.launchpad.net/bugs/159894
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to