I am using python 2.6.2, so it may no longer be a problem.
I am open to using another data type, but the way I read the documentation array.array only supports numeric types, not arbitrary objects. I also tried playing around with numpy arrays, albeit for only a short time, and it seems that although they do support arbitrary objects they seem to be geared toward numbers as well and I found it cumbersome to manipulate objects with them. It could be though that if I understood them better they would work fine. Also do numpy arrays support sorting arbitrary objects, I only saw a method that sorts numbers. -- http://mail.python.org/mailman/listinfo/python-list