Support merge and update operators
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
The issue names no implementation file or test. Start by locating the immutables.Map implementation and its existing mapping-operation tests, then compare the desired behavior with Python 3.9's PEP 584 semantics; done means both | and |= are supported consistently and covered by tests.
Written by the indexing model from the issue text.
Description
Python 3.9 will add the merge (|) and update (|=) operator support for the built-in dict (PEP 584). We should consider adding the same support for immutables.Map.
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MagicStack/immutables
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
MagicStack/immutables#121 · 6 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
MagicStack/immutables#107 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 32/100
MagicStack/immutables#102 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
MagicStack/immutables#82 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
MagicStack/immutables#75 · 1 comment ·
All issues in MagicStack/immutables
Similar issues
-
os:linux
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
mpv-player/mpv#18510 · 2 comments ·
-
internal.h中,漏掉了1个定义。 Open
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
kovidgoyal/kitty#10516 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100