Patches item #1547796, was opened at 2006-08-28 06:20 Message generated for change (Comment added) made by gvanrossum You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1547796&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core (C code) Group: Python 3000 Status: Open Resolution: None Priority: 5 Submitted By: Georg Brandl (gbrandl) >Assigned to: Guido van Rossum (gvanrossum) Summary: set literals Initial Comment: A rough patch implementing {1, 2, 3}-style set literals. There is no empty set literal. ---------------------------------------------------------------------- >Comment By: Guido van Rossum (gvanrossum) Date: 2006-08-28 11:27 Message: Logged In: YES user_id=6380 Committed revision 51631. despite two (related?) flaws: (1) ../Python/symtable.c: In function `symtable_visit_expr': ../Python/symtable.c:1209: warning: enumeration value `Set_kind' not handled in switch (2) >>> {(x for x in range(10))} KeyError: 'unknown symbol table entry' >>> (Don't ask me why that was the third thing I tried with the new syntax. :-) Also, I'd love set comprehensions! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1547796&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches