Changes between Initial Version and Version 1 of Ticket #13801


Ignore:
Timestamp:
12/05/12 16:17:37 (6 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13801

    • Property Status changed from new to needs_review
  • Ticket #13801 – Description

    initial v1  
    11Facade sets are used in many places but there are two small errors that prevent from using it everywhere...
    22
    3 Here is the first error
     3The first error concerns multiple categories initialisation. Here is a minimal example
    44{{{
    55class A(Parent):
    66    def __init__(self):
    7         Parent.__init__(self, facade=True, category=((FiniteEnumeratedSets(),Monoids()))
     7        Parent.__init__(self,
     8            category=((FiniteEnumeratedSets(),Monoids()),
     9            facade=True)
    810}}}
    911for which we get
     
    1517}}}
    1618
    17 And the second conerns the behavior of .facade_for() which is better explained with a minimal example
     19The second problem concerns the behavior of .facade_for() which is better explained with a minimal example
    1820{{{
    1921class B(Parent):
     
    2931AttributeError: 'B_with_category' object has no attribute '_facade_for'
    3032}}}
     33
     34The ticket provides the (trivial) corrections for both problems and add two doctests.