#13250: Additional poset examples
---------------------------------+------------------------------
       Reporter:  csar           |         Owner:  sage-combinat
           Type:  enhancement    |        Status:  needs_review
       Priority:  major          |     Milestone:  sage-5.11
      Component:  combinatorics  |    Resolution:
       Keywords:  sd40           |     Merged in:
        Authors:                 |     Reviewers:
Report Upstream:  N/A            |   Work issues:
         Branch:                 |  Dependencies:
       Stopgaps:                 |
---------------------------------+------------------------------

Comment (by tscrim):

 No I do not agree. The reason is all that stuff 2 comments ago that you
 didn't understand. `posets` is a class, so it has an MRO. To change this
 behavior, one would have to change `posets` into a module and import that
 module (as opposed the class that it currently is).

 Some links for reading on the MRO:

 - http://stackoverflow.com/questions/2010692/what-does-mro-do-in-python
 -
 http://docs.python.org/2/library/stdtypes.html?highlight=mro#class.__mro__
 - http://www.python.org/download/releases/2.3/mro/

 Classes vs. modules in python:

 - http://docs.python.org/2/tutorial/modules.html
 - http://docs.python.org/2/tutorial/classes.html

 Best,[[BR]]
 Travis

--
Ticket URL: <http://trac.sagemath.org/ticket/13250#comment:12>
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/groups/opt_out.


Reply via email to