Henry Schreiner

Results 2507 comments of Henry Schreiner

Thanks, I'll work on this further soon - might be after Python 3.10 / pybind11 2.8 / Windows 11 though, all to be released next Monday. (I don't think Windows...

FYI, I did attempt this a little while ago, but it will take a bit of work to properly implement. Boost-histogram has to know the memory layout exactly, since it...

We can't do this as an ndarray, because the memory can't move around and dtypes are static (I'm 85% sure). We could build a smart `.view()` adaptor that could track...

PS: If not clear from above, I'm not against a smart view, just pointing out the potential issues. As long as it's clear that the view is temporary on fills,...

I had a couple of ideas - this was, as far as I understand it, roughly one of them. You probably could select the dtype to provide on access, I...

It does look better/safer than when I first looked at it. At first I felt it was just delaying the issue. It still makes a copy any time someone uses...

(Being different at different times is fine, just not segfaulting ;) )

It's complaining because you are using the result of re.search without checking to see if it has a result first. I think the best fix, though, is to use `._storage_type`,...

Note: the goal is to support `pytest_assertrepr_compare` https://docs.pytest.org/en/latest/how-to/assert.html#defining-your-own-explanation-for-failed-assertions

I think the return from this would exactly be an awkward array, FYI. @jpivarski