15 Dec
2014
15 Dec
'14
5:53 a.m.
On 15.12.2014 01:12, Stefan van der Walt wrote:
Hi all,
Since the topic of context managers recently came up, what do you think of adding a context manager for seterr?
with np.seterr(divide='ignore'): frac = num / denom
already exists as np.errstate: with np.errstate(divide='ignore'):