why not "'in' in 'in'"?

Steve Holden sholden at holdenweb.com
Tue Jun 18 02:11:09 CEST 2002


"Grant Griffin" <not.this at seebelow.org> wrote ...
[ ... ]
>
> just-because-guido-allows-it-doesn't-mean-you-should-use
>    -it-injudicious-ly y'rs,


But you don't mind complaining about the rules he has painstakingly
established for sequence membership.

Characters have always been strings of length one in Python, and that *does*
make strings slightly anomalous. Your arguments that sequence membership
should differ between string and other sequences are unconvincing.

regards
-----------------------------------------------------------------------
Steve Holden                                 http://www.holdenweb.com/
Python Web Programming                http://pydish.holdenweb.com/pwp/
-----------------------------------------------------------------------








More information about the Python-list mailing list