#16595: Improvements to ParkingFunctions
-------------------------------------+-------------------------------------
       Reporter:  virmaux            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.3
      Component:  combinatorics      |   Resolution:
       Keywords:  parking            |    Merged in:
        Authors:  Aladin Virmaux     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/ticket/16595                |  b710d0133f6b8d57c23d3354b228572e4cd2f279
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by elixyre):

 * status:  needs_review => needs_work


Comment:

 It looks good about the `_call_` problem but there is some others...
 {{{
 sage: PF4 = ParkingFunctions(4)
 sage: sage: a = PF4.list()[36]
 sage: sage: b = PF4([1,3,2,1])
 sage: a.parent()
 Traceback (most recent call last):
 ...
 AttributeError: 'ParkingFunction_class' object has no attribute 'parent'
 sage: a
 [1, 4, 2, 1]
 sage: b.parent()
 Traceback (most recent call last):
 ...
 AttributeError: 'ParkingFunction_class' object has no attribute 'parent'
 }}}

 It seems (to me) to be easily "rewritable" with that ticket #16465. (It
 could be a test of that design...).

--
Ticket URL: <http://trac.sagemath.org/ticket/16595#comment:14>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to