Changeset 529

Show
Ignore:
Timestamp:
04/25/03 09:40:21 (5 years ago)
Author:
sholloway
Message:

slots conflict problems

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RBFoundation/RBFoundation/BindCallable.py

    r528 r529  
    4545    """Ultimate baseclass of BoundCallable objects.  Derive from this object if the class  
    4646    handles references to itself, by itself.""" 
    47     pass 
     47    __slots__ = () 
    4848 
    4949#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  • trunk/RBFoundation/RBFoundation/ContextApply.py

    r528 r529  
    2626#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    2727 
    28 from BindCallable import _WeakBoundCallable, _StrongBoundCallable 
     28from BindCallable import WeakBoundCallable as _WeakBoundCallable 
     29from BindCallable import StrongBoundCallable as _StrongBoundCallable 
    2930 
    3031#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     
    8283        - Saved context, 
    8384    """ 
    84     __slots__ = ('args', 'kw'
     85    __slots__ = (
    8586    def SaveContext(self, args, kw): 
    8687        self.args = args 
     
    9596        - Passed from calling code, 
    9697    """ 
    97     __slots__ = ('args', 'kw'
     98    __slots__ = (
    9899    def SaveContext(self, args, kw): 
    99100        self.args = args 
     
    120121    Note: The parameters from the calling code will be completely ignored. 
    121122    """ 
    122     __slots__ = ('args', 'kw'
     123    __slots__ = (
    123124    def SaveContext(self, args, kw): 
    124125        self.args = args 
     
    142143#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    143144 
    144 class StrongContextApply_p_s(ContextApply_p_s_mixin, _StrongContextApply): pass 
    145 class StrongContextApply_s_p(ContextApply_s_p_mixin, _StrongContextApply): pass 
    146 class StrongContextApply_p(ContextApply_p_mixin, _StrongContextApply): pass 
    147 class StrongContextApply_s(ContextApply_s_mixin, _StrongContextApply): pass 
    148 class StrongContextApply_0(ContextApply_0_mixin, _StrongContextApply): pass 
    149  
    150 class WeakContextApply_p_s(ContextApply_p_s_mixin, _WeakContextApply): pass 
    151 class WeakContextApply_s_p(ContextApply_s_p_mixin, _WeakContextApply): pass 
    152 class WeakContextApply_p(ContextApply_p_mixin, _WeakContextApply): pass 
    153 class WeakContextApply_s(ContextApply_s_mixin, _WeakContextApply): pass 
    154 class WeakContextApply_0(ContextApply_0_mixin, _WeakContextApply): pass 
     145class StrongContextApply_p_s(ContextApply_p_s_mixin, _StrongContextApply):  
     146    __slots__ = ('args', 'kw') 
     147class StrongContextApply_s_p(ContextApply_s_p_mixin, _StrongContextApply):  
     148    __slots__ = ('args', 'kw') 
     149class StrongContextApply_p(ContextApply_p_mixin, _StrongContextApply):  
     150    __slots__ = () 
     151class StrongContextApply_s(ContextApply_s_mixin, _StrongContextApply):  
     152    __slots__ = ('args', 'kw') 
     153class StrongContextApply_0(ContextApply_0_mixin, _StrongContextApply):  
     154    __slots__ = () 
     155 
     156class WeakContextApply_p_s(ContextApply_p_s_mixin, _WeakContextApply): 
     157    __slots__ = ('args', 'kw') 
     158class WeakContextApply_s_p(ContextApply_s_p_mixin, _WeakContextApply): 
     159    __slots__ = ('args', 'kw') 
     160class WeakContextApply_p(ContextApply_p_mixin, _WeakContextApply): 
     161    __slots__ = () 
     162class WeakContextApply_s(ContextApply_s_mixin, _WeakContextApply): 
     163    __slots__ = ('args', 'kw') 
     164class WeakContextApply_0(ContextApply_0_mixin, _WeakContextApply): 
     165    __slots__ = () 
    155166 
    156167ContextApply_p_s = StrongContextApply_p_s