Miss Islington (bot)
bb260c2a21
[3.10] bpo-44630: Fix assertion errors in csv module (GH-27127) (GH-27129)
...
Fix incorrect handling of exceptions when interpreting dialect objects in
the csv module. Not clearing exceptions between calls to
PyObject_GetAttrString() causes assertion failures in pydebug mode (or with
assertions enabled).
Add a minimal test that would've caught this (passing None as dialect, or
any object that isn't a csv.Dialect subclass, which the csv module allows
and caters to, even though it is not documented.) In pydebug mode, the test
triggers the assertion failure in the old code.
Contributed-By: T. Wouters [Google]
(cherry picked from commit 0093876328afa330224c9d887c18dee0b3117852)
Co-authored-by: T. Wouters <thomas@python.org>
Automerge-Triggered-By: GH:gpshead
2021-07-13 16:18:28 -07:00
..
2021-06-18 14:25:42 -07:00
2021-05-02 20:19:51 -07:00
2021-03-29 19:22:13 +02:00
2021-07-11 10:47:06 -07:00
2021-06-15 14:36:45 +02:00
2021-06-21 07:27:26 -07:00
2021-06-26 20:58:39 +01:00
2021-02-01 21:32:50 +01:00
2021-07-03 21:08:42 -07:00
2021-06-11 19:24:16 -04:00
2021-06-27 18:19:24 -04:00
2021-04-16 11:27:00 +02:00
2021-04-13 18:17:03 +09:00
2021-07-01 21:15:47 -07:00
2021-07-10 01:51:07 +01:00
2021-06-23 16:46:25 -07:00
2021-07-13 16:18:28 -07:00
2021-07-03 21:08:42 -07:00
2021-05-29 03:34:57 -04:00
2021-04-09 20:45:50 -07:00
2021-05-05 16:04:38 -07:00
2021-03-31 00:11:29 +03:00
2021-03-29 22:39:31 +09:00
2021-04-25 10:45:05 -07:00
2021-04-25 17:09:24 +01:00
2021-04-30 09:50:28 +01:00
2021-04-27 23:58:54 -07:00
2021-06-30 18:20:24 -07:00
2021-06-13 07:05:28 -07:00
2021-04-14 03:24:33 +02:00
2021-04-06 11:18:41 +09:00
2021-03-03 08:58:57 -08:00
2021-06-27 11:50:38 -07:00
2020-12-23 09:40:56 -08:00
2021-07-03 21:08:42 -07:00
2021-06-24 12:57:55 -07:00
2021-06-24 12:57:55 -07:00
2020-12-31 11:44:46 +02:00
2021-05-17 00:42:56 +01:00
2021-06-22 16:59:53 +03:00
2021-04-29 11:36:04 +09:00
2021-01-06 04:14:42 +02:00
2021-02-13 01:49:18 -05:00
2021-04-02 09:01:57 +09:00
2021-07-13 16:35:30 +02:00
2021-01-20 09:56:21 +01:00
2021-05-28 21:07:27 -04:00
2021-02-03 13:25:28 -08:00
2021-04-01 16:00:31 +01:00
2021-05-05 20:01:21 +02:00
2021-07-03 21:08:42 -07:00
2021-04-27 15:47:16 +09:00
2021-03-21 21:30:55 -05:00
2021-03-15 11:39:31 -07:00
2021-05-04 00:08:09 -07:00
2021-06-23 13:28:08 +03:00
2021-06-22 16:59:53 +03:00
2021-04-19 07:27:10 +02:00
2021-03-27 06:55:03 -07:00
2021-04-03 15:31:15 -07:00
2021-07-03 21:08:42 -07:00
2021-04-14 03:24:33 +02:00
2021-05-17 12:42:08 -07:00
2021-02-26 14:51:55 -08:00
2021-04-12 14:17:40 +02:00
2021-06-22 16:59:53 +03:00
2021-07-08 09:13:06 -07:00
2021-05-02 14:01:02 +09:00
2021-04-28 16:50:17 +01:00
2021-04-23 18:02:47 +01:00
2021-05-14 15:22:45 -07:00
2021-05-02 13:02:10 -07:00
2021-07-07 06:50:41 -07:00
2021-04-29 11:35:36 +09:00
2021-05-16 15:35:44 -07:00
2021-07-03 17:28:46 +01:00
2021-04-23 23:27:14 +02:00
2021-04-03 15:31:15 -07:00
2021-07-13 20:48:23 +01:00
2021-07-03 21:08:42 -07:00
2021-07-12 17:07:46 +02:00
2021-04-13 19:59:24 -04:00
2021-01-20 09:56:21 +01:00
2021-07-03 21:08:42 -07:00
2021-04-16 11:26:06 +02:00
2021-04-27 12:46:20 +09:00
2021-05-03 19:45:30 -07:00
2021-07-03 21:08:42 -07:00
2021-03-23 19:22:57 +01:00
2021-07-09 21:07:35 -07:00
2021-03-29 12:28:14 +09:00
2021-06-24 12:57:55 -07:00
2021-04-25 18:56:37 -07:00
2021-04-27 13:16:28 +09:00
2020-12-31 20:19:30 +00:00
2021-07-03 21:08:42 -07:00
2021-06-04 19:38:30 -07:00
2021-04-28 01:16:38 -07:00
2021-05-24 16:13:19 -07:00
2021-04-27 10:39:01 -07:00
2021-03-29 12:28:14 +09:00
2021-06-15 07:34:42 -07:00
2021-04-15 21:38:45 +01:00
2021-01-24 12:23:17 +03:00
2021-02-01 21:16:38 +05:30
2021-07-08 17:47:12 +01:00
2021-04-30 18:05:45 -04:00
2021-01-25 14:26:19 -08:00
2021-06-26 16:52:28 -07:00
2021-07-03 21:08:42 -07:00
2021-05-06 12:49:26 -07:00
2021-04-27 15:45:31 +09:00
2021-04-06 08:56:57 -07:00