News for hackers. Stuff that matters.
Re:Sunsetting Python 2 by sametmax on Monday September 09, 2019 @02:02PM (#20920627)
Ordered dicts and f-strings are also very sweet!
Re:Sunsetting Python 2 by loeg on Tuesday September 10, 2019 @03:41AM (#20925924)
Re:Sunsetting Python 2 by price on Tuesday September 10, 2019 @04:24AM (#20926138)
I expect sametmax was referring to the new feature in Python 3.6 that plain old `dict` now preserves the insertion order of its elements. See docs here: https://docs.python.org/3/library/stdtypes.html#dict.values

(Or in language-lawyer terms: CPython 3.6 introduced this behavior and documented it as an implementation detail, and for Python 3.7+ it's guaranteed a feature of the language proper.)

Re:Sunsetting Python 2 by GeorgeTirebiter on Monday September 09, 2019 @05:39PM (#20922741)
And optional type specifiers. This was the key for me.