]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-113796: Add more validation checks in the csv.Dialect constructor (GH-113797)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 22 Jan 2024 13:34:16 +0000 (15:34 +0200)
committerGitHub <noreply@github.com>
Mon, 22 Jan 2024 13:34:16 +0000 (15:34 +0200)
commitc8351a617b8970dbe0d3af721c6aea873019c466
tree3d38887fb1dada30112ecd0f7c4b41245ff00dab
parent2f2ddabd1a02e3095b751100b94b529e4e0bcd20
gh-113796: Add more validation checks in the csv.Dialect constructor (GH-113797)

ValueError is now raised if the same character is used in different roles.
Lib/test/test_csv.py
Misc/NEWS.d/next/Library/2024-01-07-21-04-24.gh-issue-113796.6iNsCR.rst [new file with mode: 0644]
Modules/_csv.c