Here is a simple python-enable program that will fail with python 2.6,
succeeds with python 2.5. Tested on Karmic.

# -*- coding: utf-8 -*-
import enthought.kiva.agg
from numpy import array, int64, float64
gca=enthought.kiva.agg.GraphicsContextArray((2,2))

a1 = array([1,2],float64)
a2 = array([1,2],int64)

gca.move_to(*a1)
#The next call will fail
gca.move_to(*a2)

-- 
type mismatch causes chaco examples to fail
https://bugs.launchpad.net/bugs/425957
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to