Charles Harris

Results 283 comments of Charles Harris

IIRC, it is an odd behavior. There was a discussion of it long ago, but the function itself goes back to 2002 before there was NumPy. I assume someone wanted...

Whoa, that is old documentation. I suspect that function is not much used.

This might need a release note, although it looks like this may not make it into 2.0.0.

> and it may have been introduced to suppress some warnings? It was introduced to keep compilers from assuming that the data was unaliased, avoiding some unfortunate optimizations that reliably...

Note that we would want to audit our pointer usage before removing the flag. There do not appear to be many tools to automate that. See the link above for...

> mostly it is added just in case when performance is not important. I explicitly added it because we were getting errors without it. We would ideally be alias clean,...

> what errors are you getting? I don't recall at this point, I've had `--no-strict-aliasing` in my local flags for a long, long time. Because the problems seem to mostly...