Perl is worse! (was: Python is Wierd!)
Ben Wolfson
rumjuggler at cryptarchy.org
Fri Jul 28 14:56:09 EDT 2000
On Fri, 28 Jul 2000 07:59:38 GMT, grey at despair.rpglink.com (Steve Lamb)
wrote:
>On Fri, 28 Jul 2000 06:52:19 GMT, Ben Wolfson <rumjuggler at cryptarchy.org>
>wrote:
>>Yes, it does. List returns the list-equivalent of the sequence passed as
>>its argument. 1 is not a sequence; it doesn't have a list equivalent.
>
> 1 is a sequence whether Python likes it or not. I call that a deficiency
>in the language.
>
>>Any _sequence_ can be a single element or sequence.
>>Any _single element_ can't be a single element or sequence.
>
> Let's pause and reflect on a single element not being able to be a single
>element.
You are, I think, deliberately misinterpreting me.
Any single element can't be "a single element or a sequence". It can only
be a single element.
--
Barnabas T. Rumjuggler
NEW Epistemology Strips! Dogs don't know they don't know it's not bacon!
-- Ranjit Bhatnagar
More information about the Python-list
mailing list