[sage-combinat-devel] error raised by unrank

2012-03-01 Thread Vincent Delecroix
Hello, Here is a question about conventions for enumerated sets: In sage.sets.finite_enumerated_sets unrank raise an "IndexError: tuple index out of range" if the index is out or a "TypeError: tuple indices must be integers, not str" if the argument is not coercable into an integer. While, the im

Re: [sage-combinat-devel] error raised by unrank

2012-03-05 Thread Nicolas M. Thiery
On Thu, Mar 01, 2012 at 11:16:46AM +, Vincent Delecroix wrote: > Here is a question about conventions for enumerated sets: > > In sage.sets.finite_enumerated_sets unrank raise an "IndexError: tuple > index out of range" if the index is out or a "TypeError: tuple indices > must be integers, not