summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2020-05-18 01:53:01 (GMT)
committerGitHub <noreply@github.com>2020-05-18 01:53:01 (GMT)
commit9681953c99b686cf23d1c476a2b26d2ddbec7694 (patch)
tree599a06df91b58d1d3967546c7604c74ebba16b62 /Misc
parenteefd4e033334a2a1d3929d0f7978469e5b5c4e56 (diff)
downloadcpython-9681953c99b686cf23d1c476a2b26d2ddbec7694.zip
cpython-9681953c99b686cf23d1c476a2b26d2ddbec7694.tar.gz
cpython-9681953c99b686cf23d1c476a2b26d2ddbec7694.tar.bz2
bpo-39058: Preserve attribute order in argparse Namespace reprs. (GH-17621)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-12-15-19-17-10.bpo-39058.7ci-vd.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-12-15-19-17-10.bpo-39058.7ci-vd.rst b/Misc/NEWS.d/next/Library/2019-12-15-19-17-10.bpo-39058.7ci-vd.rst
new file mode 100644
index 0000000..fff1322
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-12-15-19-17-10.bpo-39058.7ci-vd.rst
@@ -0,0 +1,4 @@
+In the argparse module, the repr for Namespace() and other argument holders
+now displayed in the order attributes were added. Formerly, it displayed in
+alphabetical order even though argument order is preserved the user visible
+parts of the module.