63Re: [python-iter] Colon syntax: We barely knew thee...
- Mar 3, 2001From: <qrczak@...>
>Requires diferent evaluation of dict.keys() in diferent context.
> Why not 3: Requires much internal magic to let such lazy list behave
> in an almost-compatible way with the old regular list - not
> sure if it can be done well at all. Breaks code which
> expected type(dict.keys()) == types.ListType.
Maybe it was motivation for colon sintax, reserved for for-loops.
- << Previous post in topic Next post in topic >>