Thought on PEP 204 and 276
Steve Horne
steve at lurking.demon.co.uk
Tue May 28 13:02:36 EDT 2002
On Tue, 28 May 2002 16:00:12 +0200, holger krekel
<pyth at devel.trillke.net> wrote:
>I realize that mapping types and sequence types are quite different
>despite appearances. It may not be a good idea to blur the lines
>between these two too much.
OK.
>It's hardly ever
>the case that you don't (want to) know whether some object is a mapping
>or a sequence type.
That wasn't the worry so much as knowledge re-use (knowing how to
handle one implying knowing how to handle the other).
It's not a big issue, though.
Thanks for the explanation.
--
Steve Horne
steve at lurking.demon.co.uk
More information about the Python-list
mailing list