Commit 38d930f
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 668d321 commit 38d930f
File tree
3 files changed
+59
-7
lines changed- Lib/test
- Misc/NEWS.d/next/Core and Builtins
- Objects
3 files changed
+59
-7
lines changed| 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 | |
|---|---|---|---|
| |||
5822 | 5822 | | |
5823 | 5823 | | |
5824 | 5824 | | |
5825 | | - | |
5826 | | - | |
5827 | | - | |
| 5825 | + | |
| 5826 | + | |
| 5827 | + | |
| 5828 | + | |
| 5829 | + | |
5828 | 5830 | | |
| 5831 | + | |
| 5832 | + | |
| 5833 | + | |
| 5834 | + | |
| 5835 | + | |
| 5836 | + | |
| 5837 | + | |
| 5838 | + | |
| 5839 | + | |
| 5840 | + | |
| 5841 | + | |
| 5842 | + | |
5829 | 5843 | | |
5830 | | - | |
| 5844 | + | |
5831 | 5845 | | |
5832 | | - | |
| 5846 | + | |
| 5847 | + | |
5833 | 5848 | | |
5834 | 5849 | | |
5835 | 5850 | | |
| |||
5839 | 5854 | | |
5840 | 5855 | | |
5841 | 5856 | | |
5842 | | - | |
5843 | | - | |
5844 | 5857 | | |
5845 | 5858 | | |
5846 | 5859 | | |
| |||
0 commit comments