6 ms·
Came to say the same.. insertion order of dict has been here for years for 90+% of Python users (CPython implementation) and a part of the language spec also fo
by throw18374 7y ago
Came to say the same.. insertion order of dict has been here for years for 90+% of Python users (CPython implementation) and a part of the language spec also for almost as many years.
I guess it’s good to spread awareness to HN readers who apparently were unaware, but the headline is very misleading.
- raziel2p 7y ago90% seems optimistic. I don't think that many Python projects are running the most recent version in production. From personal experience, upgrading to 3.7 was especially a pain because of packages that used "async" for variable/kwarg names.
- throw18374 7y agoThat’s a very good point, in that case even 50% would probably be optimistic. We can probably attribute this article’s novelty to the slow adoption of Python 3. In that way it’s probably a good thing that it’s such a popular topic, even if it is old news.