Repository navigation
Commit c37aaff
gh-95710: Support weak references for subclasses of variable-size types with a weakrefable secondary base
Secondary bases are now checked for weak reference support also if
__slots__ is not defined.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent ebd4a5d commit c37aaff
3 files changed
Lines changed: 27 additions & 0 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Core_and_Builtins
- Objects
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2447 | 2447 | | |
2448 | 2448 | | |
2449 | 2449 | | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
2450 | 2471 | | |
2451 | 2472 | | |
2452 | 2473 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4357 | 4357 | | |
4358 | 4358 | | |
4359 | 4359 | | |
| 4360 | + | |
| 4361 | + | |
4360 | 4362 | | |
4361 | 4363 | | |
4362 | 4364 | | |
| |||
0 commit comments