Charles R Harris wrote: > > In this case I would expect an empty input to be a programming error and > raising an error to be the right thing. Ok, I fixed the code in the trunk to raise a ValueError in that case. Changing to return an empty array would be easy, cheers, David