Hi all,

I'd like to raise the idea of updating the ``scipy.sparse.csgraph`` API to use 
result objects rather than a mutable return signature. This was raised by Jake 
from [scipy-20187](https://github.com/scipy/scipy/pull/20187) and I think he 
has the right idea. Specifically I agree with:

"These mutating signatures tend to be quite nasty especially as it doesn't save 
on computation. Elsewhere in SciPy we often use results objects"

Should there be some effort to rework the csgraph API to utilise a result 
object?

Thanks

Kai
_______________________________________________
SciPy-Dev mailing list -- scipy-dev@python.org
To unsubscribe send an email to scipy-dev-le...@python.org
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: arch...@mail-archive.com

Reply via email to