Commit 4d1f2d3
committed
Make sure that cached values from links_and_reverse_links_dict are not mutable inside
Yay python, it's great... In 20b45ba we
made sure that we'd return read only dicts from this function since it's
caching the result, but we kinda forgot that the value was a set and
thus was still mutable... This commits freezes said sets so now those
objects should be properly read only...1 parent f73212c commit 4d1f2d3
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
| |||
0 commit comments