Commit 3b06dfb
committed
Issue #23571: In debug mode, _Py_CheckFunctionResult() now calls
Py_FatalError() instead of using an assertion in debug mode. Py_FatalError()
displays the current exception and the traceback which contain more information
than just the assertion error.1 parent de821be commit 3b06dfb
1 file changed
Lines changed: 9 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2080 | 2080 | | |
2081 | 2081 | | |
2082 | 2082 | | |
2083 | | - | |
2084 | | - | |
2085 | | - | |
2086 | | - | |
2087 | | - | |
2088 | | - | |
2089 | | - | |
2090 | | - | |
2091 | | - | |
2092 | | - | |
2093 | 2083 | | |
2094 | 2084 | | |
2095 | 2085 | | |
| |||
2100 | 2090 | | |
2101 | 2091 | | |
2102 | 2092 | | |
2103 | | - | |
| 2093 | + | |
2104 | 2094 | | |
2105 | 2095 | | |
2106 | 2096 | | |
| |||
2119 | 2109 | | |
2120 | 2110 | | |
2121 | 2111 | | |
2122 | | - | |
| 2112 | + | |
2123 | 2113 | | |
2124 | 2114 | | |
2125 | 2115 | | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
2126 | 2123 | | |
2127 | 2124 | | |
2128 | 2125 | | |
| |||
0 commit comments