Jim Vickroy wrote:
Ned Batchelder wrote:
Yes, it definitely looks like a bug in fromarray. typestr is '<i4' in my environment, and the check against typestr[1:] seems to recognize this. The line

    typestr = typestr[:2]

should change, perhaps to:

    typestr = typestr[-2:]

--Ned.
http://nedbatchelder.com
OK, I have been wandering around http://www.pythonware.com/ for a while and have somehow missed the URL for bug reporting. Could someone point me in the right direction?

I think this list may be as good as it gets for posting bug reports/patches. However that code was written by the numpy folks -- it would be a good idea to post this on the numpy list.

-Chris



--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to