summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-07-26 10:21:09 (GMT)
committerGitHub <noreply@github.com>2018-07-26 10:21:09 (GMT)
commit323748ad7446c76972c80dbbf510534dc5c22ae8 (patch)
tree8151ef98065a3679e845bbf386a1c3f14c099ea7 /Misc/NEWS.d
parentecf411c59e33d3760dbfebf6d5b4b205bcc29d5a (diff)
downloadcpython-323748ad7446c76972c80dbbf510534dc5c22ae8.zip
cpython-323748ad7446c76972c80dbbf510534dc5c22ae8.tar.gz
cpython-323748ad7446c76972c80dbbf510534dc5c22ae8.tar.bz2
bpo-34197: Make _csv.Dialect attributes booleans. (GH-8440)
Attributes skipinitialspace, doublequote and strict are now booleans instead of integers 0 or 1.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2018-07-23-14-12-28.bpo-34197.7yFSP5.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-07-23-14-12-28.bpo-34197.7yFSP5.rst b/Misc/NEWS.d/next/Library/2018-07-23-14-12-28.bpo-34197.7yFSP5.rst
new file mode 100644
index 0000000..344d728
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-07-23-14-12-28.bpo-34197.7yFSP5.rst
@@ -0,0 +1,3 @@
+Attributes *skipinitialspace*, *doublequote* and *strict* of the *dialect*
+attribute of the :mod:`csv` reader are now :class:`bool` instances instead
+of integers 0 or 1.