Oh. And on top of everything, the documentation of RestrictedPartitions (a deprecated class) says that the feature it implements is *NOT* available through Partitions.
So this thing has been deprecated while there was no other way to get the result. Sooooooooo I guess it will stay there forever, deprecated. Good job. Nathann On 29 November 2013 17:17, Nathann Cohen <nathann.co...@gmail.com> wrote: > Okay, this time it did not take long. Quote from the constructor of > Partitions : > > if 'parts_in' in kwargs: > return Partitions_parts_in(n, kwargs['parts_in']) > elif 'starting' in kwargs: > return Partitions_starting(n, kwargs['starting']) > elif 'ending' in kwargs: > return Partitions_ending(n, kwargs['ending']) > > From this code, we learn that we can build a partitions with a "starting" > parameter, an "ending" parameter, OR a "parts_in" parameter, but that those > arguments CAN NEVER BE COMBINED. > > Honestly, you cannot look at a code like that and not notice that > something wrong is going on. > > I will create (as in #13742) a patch that screams when bad input is given. > Actually I just did, it is #15467. > > Nathann > >> -- > You received this message because you are subscribed to a topic in the > Google Groups "sage-combinat-devel" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-combinat-devel/vyMs7PQ8KbA/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > sage-combinat-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-combinat-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-combinat-devel. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel. For more options, visit https://groups.google.com/groups/opt_out.