[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-11 Thread Dong-hee Na
Change by Dong-hee Na : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-11 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset ab62051152cb24470056ffaeb9107c8b4311375e by Dong-hee Na in branch 'main': bpo-20028: Empty escapechar/quotechar is not allowed for csv.Dialect (GH-28833) https://github.com/python/cpython/commit/ab62051152cb24470056ffaeb9107c8b4311375e --

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset e4fcb6fd3dcc4db23867c2fbd538189b8f221225 by Dong-hee Na in branch '3.9': [3.9] bpo-20028: Keep original exception when PyUnicode_GetLength return -1 (GH-28832) (GH-28835) https://github.com/python/cpython/commit/e4fcb6fd3dcc4db23867c2fbd538189b8f2

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset c80f0b7aa1d90332d0069d3e85ee112d0c9da7f0 by Dong-hee Na in branch '3.10': [3.10] bpo-20028: Keep original exception when PyUnicode_GetLength return -1 (GH-28832) (GH-28834) https://github.com/python/cpython/commit/c80f0b7aa1d90332d0069d3e85ee112d0

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +27151 pull_request: https://github.com/python/cpython/pull/28835 ___ Python tracker ___ _

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +27150 pull_request: https://github.com/python/cpython/pull/28834 ___ Python tracker ___ _

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread miss-islington
miss-islington added the comment: New changeset 8772935765e7a4f04f7f561e37d0c0aee71d8030 by Miss Islington (bot) in branch '3.10': bpo-20028: Improve error message of csv.Dialect when initializing (GH-28705) https://github.com/python/cpython/commit/8772935765e7a4f04f7f561e37d0c0aee71d8030 -

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +27149 pull_request: https://github.com/python/cpython/pull/28833 ___ Python tracker ___ _

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread miss-islington
miss-islington added the comment: New changeset 6f3bc5eee6729197747d324c167da12902fb7c27 by Miss Islington (bot) in branch '3.9': bpo-20028: Improve error message of csv.Dialect when initializing (GH-28705) https://github.com/python/cpython/commit/6f3bc5eee6729197747d324c167da12902fb7c27 --

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset ec04db74e24a5f5da441bcabbe259157b4938b9b by Dong-hee Na in branch 'main': bpo-20028: Keep original exception when PyUnicode_GetLength return -1 (GH-28832) https://github.com/python/cpython/commit/ec04db74e24a5f5da441bcabbe259157b4938b9b -

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +27148 pull_request: https://github.com/python/cpython/pull/28832 ___ Python tracker ___ _

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +27147 pull_request: https://github.com/python/cpython/pull/28831 ___ Python tracker ___ __

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +27146 pull_request: https://github.com/python/cpython/pull/28830 ___ Python tracker _

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-09 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 34bbc87b2ddbaf245fbed6443c3e620f80c6a843 by Dong-hee Na in branch 'main': bpo-20028: Improve error message of csv.Dialect when initializing (GH-28705) https://github.com/python/cpython/commit/34bbc87b2ddbaf245fbed6443c3e620f80c6a843 -- _

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-03 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +27058 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28705 ___ Python tracker ___

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-10-03 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue20028] csv: Confusing error message when giving invalid quotechar in initializing dialect

2021-09-10 Thread Irit Katriel
Irit Katriel added the comment: 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 "", line 1, in TypeError: "quotechar" must be string, not bytes >>> _csv.Dialect(quot