Loading ...
Sorry, an error occurred while loading the content.

63Re: [python-iter] Colon syntax: We barely knew thee...

Expand Messages
  • gzeljko
    Mar 3, 2001
    • 0 Attachment
      From: <qrczak@...>
      > 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.

      Requires diferent evaluation of dict.keys() in diferent context.
      Maybe it was motivation for colon sintax, reserved for for-loops.

    • Show all 27 messages in this topic