Repository navigation
Commit 12dfd4d
authored
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.
1 parent 41c224c commit 12dfd4d
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 | |
|---|---|---|---|
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
563 | | - | |
| 563 | + | |
| 564 | + | |
564 | 565 | | |
565 | 566 | | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
566 | 572 | | |
567 | | - | |
| 573 | + | |
| 574 | + | |
568 | 575 | | |
569 | 576 | | |
570 | 577 | | |
| |||
575 | 582 | | |
576 | 583 | | |
577 | 584 | | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
578 | 591 | | |
579 | 592 | | |
580 | 593 | | |
581 | 594 | | |
582 | | - | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
583 | 598 | | |
584 | 599 | | |
| 600 | + | |
585 | 601 | | |
586 | 602 | | |
587 | 603 | | |
| |||
594 | 610 | | |
595 | 611 | | |
596 | 612 | | |
| 613 | + | |
597 | 614 | | |
598 | 615 | | |
599 | 616 | | |
600 | 617 | | |
| 618 | + | |
601 | 619 | | |
602 | 620 | | |
603 | 621 | | |
| |||
0 commit comments