Commit 5a47690
committed
Don't wrap return values of MutableProxy methods
For arbitrary methods, we assume the return value is not associated directly
with the dirty state of the class. If the method _does_ mutate some value on
the `self`, then it will still be marked dirty by virtue of `self` being bound
to the MutableProxy.1 parent 4ee713f commit 5a47690
2 files changed
+27
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
| 566 | + | |
| 567 | + | |
571 | 568 | | |
572 | 569 | | |
573 | 570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2071 | 2071 | | |
2072 | 2072 | | |
2073 | 2073 | | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
2074 | 2090 | | |
2075 | 2091 | | |
2076 | 2092 | | |
| |||
3918 | 3934 | | |
3919 | 3935 | | |
3920 | 3936 | | |
| 3937 | + | |
| 3938 | + | |
| 3939 | + | |
| 3940 | + | |
| 3941 | + | |
| 3942 | + | |
| 3943 | + | |
| 3944 | + | |
| 3945 | + | |
3921 | 3946 | | |
3922 | 3947 | | |
3923 | 3948 | | |
| |||
0 commit comments