On Tue, 04 Aug 2009 17:07:18 you wrote: > I'm OK with the operation not making much sense, I'm not OK with python > dying with a segmentation fault. > > For what it's worth, I also get a segfault with a.sum():
Hmmm, interesting. I've just given it a try with pure numpy boolean arrays. And that worked on my setup (Ubuntu Jaunty, Python 2.6, NumPy 1.2.1). Maybe it's something really in the way that PIL aligns its image data that then is dumped into a NumPy array by plugging a header structure on top. Guy PS: I don't need a personal to with the list in CC. I read the list, and that gets sorted by my mail filter. -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 g.kl...@massey.ac.nz http://www.massey.ac.nz/~gkloss _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig