[Python-Dev] Guarantee ordered dict literals in v3.7?

Barry Warsaw barry at python.org
Mon Nov 6 13:19:59 EST 2017


On Nov 6, 2017, at 02:18, Paul Sokolovsky <pmiscml at gmail.com> wrote:

> What it will lead to is further fragmentation of the community. Python2
> vs Python3 split is far from being over, and now there're splits
> between:
> 
> * people who use "yield from" vs "await"
> * people who use f-strings vs who don't
> * people who rely on sorted nature of dict's vs who don't

This is the classic argument of, do you proceed conservatively and use the lowest-common denominator that makes your code work with the widest range of versions, or do you ride the wave and adopt the latest and greatest features as soon as they’re available?

Neither answer is wrong or right… for everyone.  It’s also a debate as old as the software industry. Every package, project, company, developer, community will have to decide for themselves.  Once you realize you can’t win, you’ve won! :)

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171106/1748e8ab/attachment.sig>


More information about the Python-Dev mailing list