Ticket #5790 (closed enhancement: fixed)
[with patch, positive review] Updating some quirks in partition.py
| Reported by: | andrew.mathas | Owned by: | andrew.mathas |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-4.1.1 |
| Component: | combinatorics | Keywords: | partitions, cores, quotients |
| Cc: | sage-combinat, jbandlow, saliola | Author(s): | Andrew Mathas |
| Report Upstream: | Reviewer(s): | Jason Bandlow, Franco Saliola, Nicolas M. Thiéry | |
| Merged in: | sage-4.1.1.alpha0 | Work issues: |
Description (last modified by andrew.mathas) (diff)
Dear All,
I have just pushed a patch to the combinat server which:
- deprecates r_core, r_quotient (and k_core) in favour of core and quotient, respectively. I also made core return a partition rather than a list.
- rewrites the Partition() calling function to use keywords rather than named arguments. In the process I deprecated the core_and_quotient argument replacing it with Partition(core=?,quotient=?).
- deprecated partition_sign in favour of sign and replaced the previous call to gap with plus or minus one as required.
Almost all of the changes are to partition.py, however, the patch affects the following four files as they all called r_core or r_quotient:
- sage/combinat/ktableau.py
- sage/combinat/partition.py
- sage/combinat/ribbon_tableau.py
- sage/combinat/skew_partition.py
Not all of the doc tests pass, however, the problems seem to be caused elsewhere -- please let me know if I am wrong!
Andrew
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

