Victor Stinner
d4cea794a7
gh-109613: _pystat_fromstructstat() checks for exceptions ( #109618 )
...
Fix os.stat() and os.DirEntry.stat(): check for exceptions.
Previously, on Python built in debug mode, these functions could
trigger a fatal Python error (and abort the process) when a function
succeeded with an exception set.
_pystat_fromstructstat() now exits immediately if an exception is
raised, rather only checking for exceptions at the end. It fix
following fatal error in fill_time():
Fatal Python error: _Py_CheckSlotResult:
Slot * of type int succeeded with an exception set
2023-09-21 09:55:06 +02:00
..
2023-08-31 23:42:34 +02:00
2023-09-17 14:23:31 +03:00
2023-09-12 21:17:55 -07:00
2023-05-24 13:30:11 -07:00
2023-09-17 14:23:31 +03:00
2023-09-03 17:28:14 +03:00
2023-08-31 23:42:34 +02:00
2023-09-03 18:54:27 +02:00
2023-08-31 23:42:34 +02:00
2023-09-19 09:54:29 -06:00
2023-09-19 09:54:29 -06:00
2023-07-22 13:49:37 +00:00
2023-08-31 23:42:34 +02:00
2023-09-06 08:52:53 +00:00
2023-07-22 17:04:34 +02:00
2023-08-24 20:01:50 +00:00
2023-07-02 15:07:46 +09:00
2023-08-21 19:15:52 +02:00
2023-07-02 15:07:46 +09:00
2023-08-24 20:01:50 +00:00
2023-05-05 21:11:27 +00:00
2023-08-25 01:01:30 +02:00
2023-07-18 09:00:22 +03:00
2023-08-27 00:35:06 +03:00
2023-09-06 23:55:42 +03:00
2023-07-23 14:26:23 +00:00
2023-09-17 14:23:31 +03:00
2023-09-18 10:42:58 -06:00
2023-07-25 14:34:49 +03:00
2023-07-25 14:34:49 +03:00
2023-07-25 14:34:49 +03:00
2023-08-21 18:05:59 +00:00
2023-09-03 18:54:27 +02:00
2023-09-05 01:54:55 +02:00
2023-08-21 19:15:52 +02:00
2023-02-09 00:40:52 -08:00
2023-08-29 01:42:24 +02:00
2023-08-01 15:45:51 +09:00
2023-09-17 14:23:31 +03:00
2023-09-03 17:28:14 +03:00
2023-08-24 20:25:22 +02:00
2023-08-24 18:53:50 +02:00
2023-05-09 10:24:29 +02:00
2023-06-01 09:42:18 -07:00
2023-06-01 09:42:18 -07:00
2023-06-01 09:42:18 -07:00
2023-08-31 13:53:19 +02:00
2023-05-22 06:14:48 +05:30
2023-07-18 10:50:47 +03:00
2023-05-05 21:11:27 +00:00
2023-09-15 15:10:48 +02:00
2023-07-02 15:07:46 +09:00
2023-06-06 08:40:32 +00:00
2023-09-18 14:59:09 +00:00
2023-08-26 00:39:24 +02:00
2023-08-21 13:59:58 +00:00
2023-09-19 09:54:29 -06:00
2023-07-25 14:34:49 +03:00
2023-07-18 23:59:53 +03:00
2023-09-11 17:27:03 +02:00
2023-09-03 18:54:27 +02:00
2023-08-28 16:04:27 +03:00
2023-08-13 10:24:59 +01:00
2023-07-02 15:07:46 +09:00
2023-07-25 14:34:49 +03:00
2023-08-11 21:13:46 +03:00
2023-09-19 15:01:34 -06:00
2023-09-19 15:01:34 -06:00
2023-09-03 18:54:27 +02:00
2023-08-24 20:25:22 +02:00
2023-09-05 01:54:55 +02:00
2023-07-25 14:34:49 +03:00
2023-07-18 10:50:47 +03:00
2023-06-09 21:57:25 +02:00
2023-08-27 00:35:06 +03:00
2023-08-27 00:35:06 +03:00
2023-09-06 15:54:59 +00:00
2023-09-01 18:36:53 +02:00
2023-07-04 09:41:43 +00:00
2023-09-05 01:54:55 +02:00
2023-02-06 15:55:32 +00:00
2023-09-02 16:50:18 +02:00
2023-05-23 00:06:41 +00:00
2023-08-24 20:25:22 +02:00
2023-08-29 04:18:52 +02:00
2023-09-03 01:48:47 -07:00
2023-07-25 14:34:49 +03:00
2023-09-02 16:50:18 +02:00
2023-09-03 17:28:14 +03:00
2023-09-21 09:55:06 +02:00
2023-09-07 02:09:06 +02:00
2023-09-02 16:50:18 +02:00
2023-09-03 18:54:27 +02:00
2023-09-02 17:51:19 +02:00
2023-09-03 17:28:14 +03:00
2023-09-02 16:50:18 +02:00
2023-05-25 17:59:00 +02:00
2023-05-15 20:36:23 -07:00
2023-09-19 09:54:29 -06:00
2023-07-25 14:34:49 +03:00
2023-07-25 15:28:30 +02:00
2023-05-23 00:06:41 +00:00
2023-09-02 17:51:19 +02:00
2023-09-02 17:54:59 +00:00
2023-08-10 00:47:46 +00:00
2023-08-29 04:18:52 +02:00
2023-05-05 21:11:27 +00:00
2023-09-02 18:57:47 +00:00
2023-09-05 10:25:08 +02:00
2023-05-10 18:53:13 +00:00
2023-04-14 09:04:16 -05:00
2023-09-19 22:07:47 -07:00
2023-09-19 22:07:47 -07:00
2023-09-19 22:07:47 -07:00
2023-05-05 21:11:27 +00:00
2023-05-05 21:11:27 +00:00
2023-05-05 21:11:27 +00:00
2023-09-02 17:51:19 +02:00
2023-08-21 19:15:52 +02:00