Commit d153eb8
* There were leaks if Py_tp_bases is used more than once or if some call is
failed before setting tp_bases.
* There was a crash if the bases argument or the Py_tp_bases slot is not a tuple.
* The documentation was not accurate.
(cherry picked from commit 1db7639)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 713b4bb commit d153eb8
2 files changed
+22
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
250 | | - | |
| 251 | + | |
| 252 | + | |
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2951 | 2951 | | |
2952 | 2952 | | |
2953 | 2953 | | |
2954 | | - | |
2955 | 2954 | | |
2956 | 2955 | | |
2957 | | - | |
| 2956 | + | |
2958 | 2957 | | |
2959 | | - | |
| 2958 | + | |
| 2959 | + | |
| 2960 | + | |
| 2961 | + | |
| 2962 | + | |
2960 | 2963 | | |
| 2964 | + | |
| 2965 | + | |
| 2966 | + | |
| 2967 | + | |
2961 | 2968 | | |
2962 | | - | |
| 2969 | + | |
| 2970 | + | |
| 2971 | + | |
| 2972 | + | |
| 2973 | + | |
2963 | 2974 | | |
| 2975 | + | |
2964 | 2976 | | |
2965 | 2977 | | |
2966 | 2978 | | |
2967 | 2979 | | |
| 2980 | + | |
2968 | 2981 | | |
2969 | 2982 | | |
2970 | 2983 | | |
2971 | 2984 | | |
2972 | 2985 | | |
2973 | 2986 | | |
| 2987 | + | |
2974 | 2988 | | |
2975 | 2989 | | |
2976 | 2990 | | |
| |||
2982 | 2996 | | |
2983 | 2997 | | |
2984 | 2998 | | |
2985 | | - | |
2986 | 2999 | | |
2987 | 3000 | | |
2988 | 3001 | | |
| |||
0 commit comments