Commit 16ccdbc
authored
pythongh-141510: Fix frozendict.fromkeys() for dict subclasses (python#144962)
Copy also the dictionary if a dict subclass returns a frozendict.1 parent 3e2f5c1 commit 16ccdbc
2 files changed
+20
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1815 | 1815 | | |
1816 | 1816 | | |
1817 | 1817 | | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
1818 | 1828 | | |
1819 | 1829 | | |
1820 | 1830 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
3305 | 3306 | | |
3306 | 3307 | | |
3307 | 3308 | | |
3308 | | - | |
| 3309 | + | |
3309 | 3310 | | |
3310 | 3311 | | |
3311 | | - | |
3312 | | - | |
3313 | | - | |
3314 | | - | |
| 3312 | + | |
3315 | 3313 | | |
3316 | | - | |
| 3314 | + | |
| 3315 | + | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
3317 | 3321 | | |
3318 | 3322 | | |
3319 | 3323 | | |
| |||
0 commit comments