We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = 'https://github.com/gvanrossum' closed_at = <Date 2008-01-06.22:29:46.460> created_at = <Date 2006-08-28.10:20:21.000> labels = ['interpreter-core'] title = 'set literals' updated_at = <Date 2008-01-06.22:29:46.460> user = 'https://github.com/birkenfeld'
bugs.python.org fields:
activity = <Date 2008-01-06.22:29:46.460> actor = 'admin' assignee = 'gvanrossum' closed = True closed_date = None closer = None components = ['Interpreter Core'] creation = <Date 2006-08-28.10:20:21.000> creator = 'georg.brandl' dependencies = [] files = ['7506'] hgrepos = [] issue_num = 1547796 keywords = ['patch'] message_count = 3.0 messages = ['50997', '50998', '50999'] nosy_count = 2.0 nosy_names = ['gvanrossum', 'georg.brandl'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue1547796' versions = ['Python 3.0']
The text was updated successfully, but these errors were encountered:
A rough patch implementing {1, 2, 3}-style set literals. There is no empty set literal.
Sorry, something went wrong.
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
symtable_visit_expr': ../Python/symtable.c:1209: warning: enumeration value
(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!
Logged In: YES user_id=849994
Okay, fixed the symtable issue.
Hopefully other people also do weird things with the new syntax, the unit tests aren't very thorough (yet).
gvanrossum
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: