From eba7e59d42abcb05144c5f8b062f383139f00aab Mon Sep 17 00:00:00 2001 From: Prometheus3375 <35541026+Prometheus3375@users.noreply.github.com> Date: Mon, 25 Mar 2024 21:29:14 +0000 Subject: [PATCH 1/2] Add a note about bug --- Doc/library/csv.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 533cdf13974be6..10bca852f23d96 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -365,6 +365,12 @@ The :mod:`csv` module defines the following constants: .. versionadded:: 3.12 +.. note:: + + Due to a bug, constants ``QUOTE_NOTNULL`` and ``QUOTE_STRINGS`` + do not affect behaviour of :class:`reader` objects. + This bug is fixed in Python 3.13. + The :mod:`csv` module defines the following exception: From c9d40dcf4dbb1ed4dc2c553fe7a6e71a04bdc1bf Mon Sep 17 00:00:00 2001 From: Prometheus3375 <35541026+Prometheus3375@users.noreply.github.com> Date: Mon, 25 Mar 2024 21:30:56 +0000 Subject: [PATCH 2/2] Properly link constants --- Doc/library/csv.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 10bca852f23d96..8e432078e1949a 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -367,7 +367,7 @@ The :mod:`csv` module defines the following constants: .. note:: - Due to a bug, constants ``QUOTE_NOTNULL`` and ``QUOTE_STRINGS`` + Due to a bug, constants :data:`QUOTE_NOTNULL` and :data:`QUOTE_STRINGS` do not affect behaviour of :class:`reader` objects. This bug is fixed in Python 3.13.