Commit f291cf2
Updated methods in the
This change is trivial since the GIL is already held everywhere that the clones occur, with the minor technicality that the GIL is not guaranteed to be held in the definition of the `PyArrayMethods` trait, but only in the actual impl block for `Bound<PyArray`. As such, several method implementations had to be moved to the impl block instead of being default implementations in the trait definition, but this is not a breaking change since the trait is `Sealed` and we control the only impl.array module to call PyClone methods instead of Clone methods.1 parent 23c6a13 commit f291cf2
1 file changed
+31
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1686 | 1686 | | |
1687 | 1687 | | |
1688 | 1688 | | |
1689 | | - | |
1690 | | - | |
1691 | | - | |
1692 | | - | |
| 1689 | + | |
1693 | 1690 | | |
1694 | 1691 | | |
1695 | 1692 | | |
| |||
1720 | 1717 | | |
1721 | 1718 | | |
1722 | 1719 | | |
1723 | | - | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
| 1720 | + | |
1727 | 1721 | | |
1728 | 1722 | | |
1729 | 1723 | | |
| |||
1827 | 1821 | | |
1828 | 1822 | | |
1829 | 1823 | | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
1833 | | - | |
| 1824 | + | |
1834 | 1825 | | |
1835 | 1826 | | |
1836 | 1827 | | |
| |||
2206 | 2197 | | |
2207 | 2198 | | |
2208 | 2199 | | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
2209 | 2210 | | |
2210 | 2211 | | |
2211 | 2212 | | |
2212 | 2213 | | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
2213 | 2223 | | |
2214 | 2224 | | |
2215 | 2225 | | |
| |||
2260 | 2270 | | |
2261 | 2271 | | |
2262 | 2272 | | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
2263 | 2282 | | |
2264 | 2283 | | |
2265 | 2284 | | |
| |||
0 commit comments