Repository navigation
Commit 4aaa512
Hold strong references to __annotate__ and the annotations tuple while running
code that can replace them. If __annotations__ is set while __annotate__
runs, keep the newly set value.
(cherry picked from commit 12dfd4d)
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
1 parent f3f0b0a commit 4aaa512
3 files changed
Lines changed: 37 additions & 3 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Core_and_Builtins
- Objects
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
331 | 343 | | |
332 | 344 | | |
333 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
| 580 | + | |
| 581 | + | |
581 | 582 | | |
582 | 583 | | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
583 | 589 | | |
584 | | - | |
| 590 | + | |
| 591 | + | |
585 | 592 | | |
586 | 593 | | |
587 | 594 | | |
| |||
591 | 598 | | |
592 | 599 | | |
593 | 600 | | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
594 | 607 | | |
595 | 608 | | |
596 | 609 | | |
597 | 610 | | |
598 | | - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
599 | 614 | | |
600 | 615 | | |
| 616 | + | |
601 | 617 | | |
602 | 618 | | |
603 | 619 | | |
| |||
610 | 626 | | |
611 | 627 | | |
612 | 628 | | |
| 629 | + | |
613 | 630 | | |
614 | 631 | | |
615 | 632 | | |
616 | 633 | | |
| 634 | + | |
617 | 635 | | |
618 | 636 | | |
619 | 637 | | |
| |||
0 commit comments