[Reality] Containment - barriers to implementation

Christopher Armstrong radix at twistedmatrix.com
Sun Apr 4 23:14:51 MDT 2004


exarkun at divmod.com wrote:
> On Sun, 04 Apr 2004 01:56:58 -0500, Christopher Armstrong <radix at twistedmatrix.com> wrote:
> 
>>[snip]
>>
>>Hmm, the last bit kinda annoys me. Maybe we should allow the collectors 
>>to implement some of those 'blocking' semantics themselves ("Am I 
>>closed? If so, don't let things through") with the option for the 
>>criterion to override them?
> 
> 
>   Override the default behavior?  But then you need a default behavior... which should be... what?

No, I didn't mention anything about defaults. I meant for the criterion 
to override the container's blocking-semantics; the container's blocking 
semantics are defined on a per-ICollector basis...

Anyway, I don't know enough about how an implementation of these 
semantics would go; I just frowned at the fact that the 
IClosable(o).closed check was in the criterion, and not the box, which 
is where we said it would be before. I'm probably wrong, and I have no 
basis on which to make an argument. So ignore this. :-)

-- 
  Twisted | Christopher Armstrong: International Man of Twistery
   Radix  |          Release Manager,  Twisted Project
---------+           http://radix.twistedmatrix.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://pyramid.twistedmatrix.com/pipermail/reality/attachments/20040405/893f36f9/signature.bin


More information about the Reality mailing list