Will Python add `{:}`, `{,}` and maybe `(,)` in or before 3.15 (October 2026)?
19
Ṁ150Ṁ1.1kNov 1
3%
chance
1H
6H
1D
1W
1M
ALL
See https://discuss.python.org/t/add-the-ability-to-declare-an-empty-dict-as/25213/19
I made a proposal with a modified grammar some years ago that would make
{,}the empty set. If there was a real desire for this, a similar change could be made so that both{,} == set()and{:} == dict()such that{}could, eventually over a very long time, be removed.One thing that actually changing the grammar unveiled was that once
{,}becomes a legal literal, it becomes extremely easy to make(,)legal, which IMO is another wart on the language (parentheses don’t make tuples, commas do; oh, except for an empty tuple, then you must always use parentheses and no comma).
This question is managed and resolved by Manifold.
Get
1,000 to start trading!
People are also trading
Will Python 4 be released before 2030?
13% chance
There will be a Python6.9 before the year 2069
13% chance
Will Python 3.12 reach 85% readiness before end of life?
52% chance
Will I still consider uv the best Python package manager at the end of 2026?
82% chance
Will Python 3.11 reach 85% readiness before end of life?
43% chance
In what year will Python 4.0 be released?
When will Python 2 finally die?
When will Python 3.15 readiness reach 75%?
6/20/27
[Metaculus] Will Python still be most popular programming language at the end of 2030?
71% chance
Will Python remain a leading language until 2030 with or without the GIL?
Sort by:
People are also trading
Related questions
Will Python 4 be released before 2030?
13% chance
There will be a Python6.9 before the year 2069
13% chance
Will Python 3.12 reach 85% readiness before end of life?
52% chance
Will I still consider uv the best Python package manager at the end of 2026?
82% chance
Will Python 3.11 reach 85% readiness before end of life?
43% chance
In what year will Python 4.0 be released?
When will Python 2 finally die?
When will Python 3.15 readiness reach 75%?
6/20/27
[Metaculus] Will Python still be most popular programming language at the end of 2030?
71% chance
Will Python remain a leading language until 2030 with or without the GIL?