PEP 245

Clark C. Evans cce at clarkevans.com
Wed Apr 4 08:56:34 EDT 2001


On Wed, 4 Apr 2001, Alex Martelli wrote:
> A lot!  I should be surprised that you do not see it.  PEP 245
> hinges interface-compliance on "identity constraints" (albeit,
> weakened ones wrt COM's, since an instance-object's class
> membership CAN change in Python), while the (as-yet-not-
> numbered, I believe) protocol-adaptation PEP has no identity
> constraints (the wrapper or adapter may be ANY object...).
> 
> Understanding exactly what object-identity constraints buy
> you (and what they DON'T) is important to evaluating both PEPs.
> And COM is one good arena in which to discuss the effects of
> object-identity semantic constraints, because it's so widespread,
> well-specified, and well-understood -- of course, similarities
> and differences between the sets of use-cases of COM and Python
> need to be also well-understood, and taken into account.

Alex, 

Thank you for your insightful comments.  Barry Warsaw
has given the adaption PEP a number, 246.  

Clark





More information about the Python-list mailing list