Commit d3b8611
gh-149676: Fix hash(frozendict | frozendict) (GH-149675)
Fix new_dict_impl() to properly initialize ma_hash on frozendict.
(cherry picked from commit f5fb491)
Co-authored-by: Thomas Kowalski <thom.kowa@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 45c431a commit d3b8611
3 files changed
Lines changed: 12 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 | |
|---|---|---|---|
| |||
1868 | 1868 | | |
1869 | 1869 | | |
1870 | 1870 | | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
1871 | 1876 | | |
1872 | 1877 | | |
1873 | 1878 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | | - | |
| 903 | + | |
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
| |||
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
918 | 921 | | |
919 | 922 | | |
920 | 923 | | |
| |||
931 | 934 | | |
932 | 935 | | |
933 | 936 | | |
934 | | - | |
| 937 | + | |
935 | 938 | | |
936 | 939 | | |
937 | 940 | | |
| |||
940 | 943 | | |
941 | 944 | | |
942 | 945 | | |
943 | | - | |
| 946 | + | |
944 | 947 | | |
945 | 948 | | |
946 | 949 | | |
| |||
0 commit comments