Message401605
The patch needs to be converted to a GitHub PR.
Reproduced on 3.11:
>>> import _csv
>>> import csv
>>> _csv.Dialect(quotechar=b'+')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: "quotechar" must be string, not bytes
>>> _csv.Dialect(quotechar=None)
<_csv.Dialect object at 0x105acfe40>
>>> _csv.Dialect(quotechar="cutecat")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: "quotechar" must be a 1-character string
>>> _csv.Dialect(quotechar="", quoting=csv.QUOTE_NONE)
<_csv.Dialect object at 0x105948c80> |
|
Date |
User |
Action |
Args |
2021-09-10 18:01:26 | iritkatriel | set | recipients:
+ iritkatriel, r.david.murray, serhiy.storchaka, vajrasky |
2021-09-10 18:01:26 | iritkatriel | set | messageid: <1631296886.38.0.0439449044452.issue20028@roundup.psfhosted.org> |
2021-09-10 18:01:26 | iritkatriel | link | issue20028 messages |
2021-09-10 18:01:26 | iritkatriel | create | |
|