#12278: misleading (outdated) docstring in partitions_restricted
-----------------------------+----------------------------------------------
Reporter: AlexGhitza | Owner: sage-combinat
Type: defect | Status: new
Priority: minor | Milestone: sage-5.0
Component: combinatorics | Keywords: partitions docstring
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Description changed by AlexGhitza:
Old description:
> The docstring for {{{partitions_restricted}}} says that the function is
> deprecated and one should instead use {{{RestrictedPartitions}}}.
> However, this also turns out to be deprecated. It would be good to fix
> this.
New description:
The docstring for {{{partitions_restricted}}} says that the function is
deprecated and one should instead use {{{RestrictedPartitions}}}.
However, this also turns out to be deprecated. It would be good to fix
this.
And here is a more serious problem: the way that is now recommended for
obtaining the list of restricted partitions is {{{Partitions(n,
parts_in=S)}}}. However, {{{Partitions}}} cannot have both {{{parts_in}}}
and {{{length}}} specified, so not all the functionality of the old
{{{partitions_restricted}}} remains available.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12278#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.