Commit 984f8aa
Serializing objects with complex __qualname__ (such as unbound methods and
nested classes) by name no longer involves serializing parent objects by value
in pickle protocols < 4.
(cherry picked from commit dc07f65)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 977c799 commit 984f8aa
File tree
4 files changed
+82
-26
lines changed- Lib
- test
- Misc/NEWS.d/next/Library
- Modules
4 files changed
+82
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1118 | 1142 | | |
1119 | 1143 | | |
1120 | 1144 | | |
| |||
1124 | 1148 | | |
1125 | 1149 | | |
1126 | 1150 | | |
1127 | | - | |
1128 | | - | |
| 1151 | + | |
| 1152 | + | |
1129 | 1153 | | |
1130 | 1154 | | |
1131 | 1155 | | |
1132 | 1156 | | |
1133 | 1157 | | |
1134 | | - | |
1135 | | - | |
1136 | 1158 | | |
1137 | 1159 | | |
1138 | 1160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2818 | 2818 | | |
2819 | 2819 | | |
2820 | 2820 | | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
| 2827 | + | |
| 2828 | + | |
| 2829 | + | |
| 2830 | + | |
| 2831 | + | |
| 2832 | + | |
2821 | 2833 | | |
2822 | 2834 | | |
2823 | 2835 | | |
| |||
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 | |
|---|---|---|---|
| |||
3592 | 3592 | | |
3593 | 3593 | | |
3594 | 3594 | | |
3595 | | - | |
3596 | 3595 | | |
3597 | 3596 | | |
3598 | 3597 | | |
| |||
3633 | 3632 | | |
3634 | 3633 | | |
3635 | 3634 | | |
3636 | | - | |
3637 | | - | |
3638 | 3635 | | |
3639 | | - | |
3640 | 3636 | | |
3641 | 3637 | | |
3642 | 3638 | | |
| |||
3724 | 3720 | | |
3725 | 3721 | | |
3726 | 3722 | | |
3727 | | - | |
| 3723 | + | |
| 3724 | + | |
| 3725 | + | |
| 3726 | + | |
3728 | 3727 | | |
3729 | 3728 | | |
3730 | 3729 | | |
| |||
3737 | 3736 | | |
3738 | 3737 | | |
3739 | 3738 | | |
3740 | | - | |
3741 | | - | |
3742 | | - | |
3743 | | - | |
3744 | | - | |
3745 | | - | |
3746 | | - | |
3747 | | - | |
3748 | | - | |
3749 | | - | |
3750 | 3739 | | |
3751 | 3740 | | |
3752 | 3741 | | |
3753 | | - | |
| 3742 | + | |
| 3743 | + | |
| 3744 | + | |
| 3745 | + | |
| 3746 | + | |
| 3747 | + | |
| 3748 | + | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
| 3759 | + | |
| 3760 | + | |
| 3761 | + | |
| 3762 | + | |
3754 | 3763 | | |
3755 | 3764 | | |
3756 | 3765 | | |
| |||
3812 | 3821 | | |
3813 | 3822 | | |
3814 | 3823 | | |
| 3824 | + | |
| 3825 | + | |
| 3826 | + | |
| 3827 | + | |
| 3828 | + | |
| 3829 | + | |
| 3830 | + | |
| 3831 | + | |
| 3832 | + | |
| 3833 | + | |
| 3834 | + | |
3815 | 3835 | | |
3816 | 3836 | | |
3817 | 3837 | | |
| |||
3827 | 3847 | | |
3828 | 3848 | | |
3829 | 3849 | | |
3830 | | - | |
3831 | 3850 | | |
3832 | 3851 | | |
3833 | 3852 | | |
| |||
0 commit comments