Message334602
Now that regular dicts are ordered and compact, it makes more sense for the _asdict() method to create a regular dict (as it did in its early days) rather than an OrderedDict. The regular dict is much smaller, much faster, and has a much cleaner looking repr.
Historically we would go through a deprecation period for a possibly breaking change; however, it was considered more benefit to users and less disruptive to make the update directly. See the thread starting at: https://mail.python.org/pipermail/python-dev/2019-January/156150.html |
|
Date |
User |
Action |
Args |
2019-01-31 02:20:15 | rhettinger | set | recipients:
+ rhettinger |
2019-01-31 02:20:11 | rhettinger | set | messageid: <1548901211.98.0.0872539907535.issue35864@roundup.psfhosted.org> |
2019-01-31 02:20:11 | rhettinger | link | issue35864 messages |
2019-01-31 02:20:11 | rhettinger | create | |
|