Re: [Python-Dev] PEP 246: let's reset

2005-01-17 Thread Phillip J. Eby
At 10:21 AM 1/17/05 -0800, Guido van Rossum wrote: > Heh. As long as you're going to continue the electrical metaphor, why not > just call them transformers and appliances? Please don't. Transformer is commonly used in all sorts of contexts. But appliances applies mostly to kitchenware and the occ

Re: [Python-Dev] PEP 246: let's reset

2005-01-17 Thread Guido van Rossum
> Heh. As long as you're going to continue the electrical metaphor, why not > just call them transformers and appliances? Please don't. Transformer is commonly used in all sorts of contexts. But appliances applies mostly to kitchenware and the occasional marketing term for cheap computers. The e

Re: [Python-Dev] PEP 246: let's reset

2005-01-17 Thread Just van Rossum
Phillip J. Eby wrote: > Heh. As long as you're going to continue the electrical metaphor, > why not just call them transformers and appliances? [ ... ] Next we'll see Appliance-Oriented Programming ;-) Just ___ Python-Dev mailing list Python-Dev@pytho

Re: [Python-Dev] PEP 246: let's reset

2005-01-17 Thread Phillip J. Eby
At 01:49 AM 1/17/05 -0500, Glyph Lefkowitz wrote: On Sun, 2005-01-16 at 13:00 -0500, Phillip J. Eby wrote: > """One type is the "extender", ... > By contrast, an "independent adapter" ... I really like the way this part of the PEP is sounding, since it really captures two almost, but not quite, com

Re: [Python-Dev] PEP 246: let's reset

2005-01-17 Thread Nick Coghlan
Guido van Rossum wrote: Typechecking can be trivially defined in terms of adaptation: def typecheck(x, T): y = adapt(x, T) if y is x: return y raise TypeError("...") Assuming the type error displayed contains information on T, the caller can then trivially correct the type error by

Re: [Python-Dev] PEP 246: let's reset

2005-01-16 Thread Glyph Lefkowitz
On Sun, 2005-01-16 at 13:00 -0500, Phillip J. Eby wrote: > """One type is the "extender", ... > By contrast, an "independent adapter" ... I really like the way this part of the PEP is sounding, since it really captures two almost, but not quite, completely different use-cases, the confusion betw

Re: [Python-Dev] PEP 246: let's reset

2005-01-16 Thread Phillip J. Eby
At 09:15 AM 1/16/05 -0800, Guido van Rossum wrote: Given the many and various issues with automamtic adaptation (transitivity, lossiness, statelessness, and apparently more still) that might be a better approach. Actually, I think Clark, Alex, and I are rapidly converging on a relatively simple co

[Python-Dev] PEP 246: let's reset

2005-01-16 Thread Guido van Rossum
The various PEP 246 threads are dead AFAIC -- I won't ever have the time to read them in full length, and because I haven't followed them I don't get much of the discussion that's still going on. I hear that Clark and Alex are going to do a revision of the PEP; I'm looking forward to the results.