[New-bugs-announce] [issue34197] Make csv.Dialect attributes skipinitialspace, doublequote and strict booleans
Serhiy Storchaka
report at bugs.python.org
Mon Jul 23 07:06:28 EDT 2018
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
Currently attributes skipinitialspace, doublequote and strict of the csv.Dialect class are integers 0 or 1.
>>> import csv
>>> d = csv.reader([]).dialect
>>> d.skipinitialspace
0
>>> d.doublequote
1
>>> d.strict
0
The proposed PR makes them False or True.
----------
assignee: serhiy.storchaka
components: Library (Lib)
messages: 322193
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Make csv.Dialect attributes skipinitialspace, doublequote and strict booleans
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34197>
_______________________________________
More information about the New-bugs-announce
mailing list