Hi,
I'm wondering why numpy.log doesn't raise a ValueError exception the
way math.log does:
1< import numpy as np
2< np.log([-1])
Warning: invalid value encountered in log
2> array([ nan])
3< import math
4< math.log(-1)
---
Dear list,
I'm embedding Python inside a C program to pull functions from
user-supplied Python modules. All is well except when the
user-supplied module imports numpy. Requesting a stack trace when an
exception occurs reveals the following:
---
Traceback (most recent call last):
File "/Users/dp