summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorEric V. Smith <ericvsmith@users.noreply.github.com>2018-05-16 15:31:29 (GMT)
committerGitHub <noreply@github.com>2018-05-16 15:31:29 (GMT)
commit4e81296b1874829912c687eba4d39361ab51e145 (patch)
tree46db8179f7b5f6eccd66a688ef4126cc34457b38 /Misc
parent5db5c0669e624767375593cc1a01f32092c91c58 (diff)
downloadcpython-4e81296b1874829912c687eba4d39361ab51e145.zip
cpython-4e81296b1874829912c687eba4d39361ab51e145.tar.gz
cpython-4e81296b1874829912c687eba4d39361ab51e145.tar.bz2
bpo-33536: Validate make_dataclass() field names. (GH-6906)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-05-16-10-07-40.bpo-33536._s0TE8.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-05-16-10-07-40.bpo-33536._s0TE8.rst b/Misc/NEWS.d/next/Library/2018-05-16-10-07-40.bpo-33536._s0TE8.rst
new file mode 100644
index 0000000..2c10241
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-05-16-10-07-40.bpo-33536._s0TE8.rst
@@ -0,0 +1,2 @@
+dataclasses.make_dataclass now checks for invalid field names and duplicate
+fields. Also, added a check for invalid field specifications.