The Python Oracle

What would a "frozen dict" be?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Cool Puzzler LoFi

--

Chapters
00:00 Question
00:39 Accepted answer (Score 142)
02:15 Answer 2 (Score 92)
03:33 Answer 3 (Score 25)
03:54 Answer 4 (Score 19)
04:18 Thank you

--

Full question
https://stackoverflow.com/questions/2703...

Question links:
https://www.python.org/dev/peps/pep-0603

Answer 1 links:
[PEP 416 -- Add a frozendict builtin type]: https://www.python.org/dev/peps/pep-0416/
[PEP 603 -- Adding a frozenmap type to collections]: https://www.python.org/dev/peps/pep-0603/
[this]: https://docs.python.org/3/library/types....

Answer 3 links:
[MappingProxyType]: https://docs.python.org/library/types.ht...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #dictionary #datastructures #immutability

#avk47