scipy/scipy — comment on commit 2570a3b685fdc45e0bc5d00f27e71ba78993efad
File: scipy/optimize/lbfgsb.py line 153
By bransfor:

The previous version is valuable for cases where func is expensive and returns both f and g.