This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Save OrderedDict import in argparse
Type: performance Stage: resolved
Components: Library (Lib) Versions: Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bethard Nosy List: bethard, rhettinger
Priority: normal Keywords: patch

Created on 2017-12-15 18:11 by rhettinger, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 4890 merged rhettinger, 2017-12-15 18:12
Messages (1)
msg308416 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2017-12-15 18:11
Since regular dicts are now ordered by default, the OrderedDict import is no longer necessary.  Removing it will give a small boost to start-up time.
History
Date User Action Args
2022-04-11 14:58:55adminsetgithub: 76517
2018-01-29 20:39:31rhettingersetstatus: open -> closed
dependencies: - Dict order is now guaranteed, so add tests and doc for it
resolution: fixed
stage: patch review -> resolved
2017-12-18 09:53:28serhiy.storchakasetdependencies: + Dict order is now guaranteed, so add tests and doc for it
2017-12-18 09:52:26serhiy.storchakalinkissue32360 dependencies
2017-12-15 18:12:51rhettingersetkeywords: + patch
stage: patch review
pull_requests: + pull_request4783
2017-12-15 18:11:24rhettingercreate