Commit 01ab963
Walk down the MRO backwards to find the type that originally defined the final `tp_setattro`, then make sure we are not jumping over intermediate C-level bases with the Python-level call.
Automerge-Triggered-By: @gvanrossum
(cherry picked from commit c53b310)
Co-authored-by: scoder <stefan_ml@behnel.de>
1 parent 27b8110 commit 01ab963
3 files changed
Lines changed: 59 additions & 7 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Core and Builtins
- Objects
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4315 | 4315 | | |
4316 | 4316 | | |
4317 | 4317 | | |
| 4318 | + | |
| 4319 | + | |
| 4320 | + | |
| 4321 | + | |
| 4322 | + | |
| 4323 | + | |
| 4324 | + | |
| 4325 | + | |
| 4326 | + | |
| 4327 | + | |
| 4328 | + | |
| 4329 | + | |
| 4330 | + | |
| 4331 | + | |
| 4332 | + | |
| 4333 | + | |
| 4334 | + | |
| 4335 | + | |
| 4336 | + | |
| 4337 | + | |
| 4338 | + | |
| 4339 | + | |
| 4340 | + | |
| 4341 | + | |
| 4342 | + | |
| 4343 | + | |
| 4344 | + | |
| 4345 | + | |
| 4346 | + | |
| 4347 | + | |
| 4348 | + | |
| 4349 | + | |
| 4350 | + | |
| 4351 | + | |
| 4352 | + | |
| 4353 | + | |
4318 | 4354 | | |
4319 | 4355 | | |
4320 | 4356 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5955 | 5955 | | |
5956 | 5956 | | |
5957 | 5957 | | |
5958 | | - | |
5959 | | - | |
5960 | | - | |
| 5958 | + | |
| 5959 | + | |
| 5960 | + | |
| 5961 | + | |
| 5962 | + | |
5961 | 5963 | | |
| 5964 | + | |
| 5965 | + | |
| 5966 | + | |
| 5967 | + | |
| 5968 | + | |
| 5969 | + | |
| 5970 | + | |
| 5971 | + | |
| 5972 | + | |
| 5973 | + | |
| 5974 | + | |
| 5975 | + | |
5962 | 5976 | | |
5963 | | - | |
| 5977 | + | |
5964 | 5978 | | |
5965 | | - | |
| 5979 | + | |
| 5980 | + | |
5966 | 5981 | | |
5967 | 5982 | | |
5968 | 5983 | | |
| |||
5972 | 5987 | | |
5973 | 5988 | | |
5974 | 5989 | | |
5975 | | - | |
5976 | | - | |
5977 | 5990 | | |
5978 | 5991 | | |
5979 | 5992 | | |
| |||
0 commit comments