How do I make numpy raise exceptions instead of print warnings?
March 29, 2008
9:25 p.m.
Is there a way to have numpy raise exceptions instead of printing warnings? The printed warnings make debugging hard.
March 29, 2008
10:05 p.m.
New subject: How do I make numpy raise exceptions instead of print warnings?
On Sat, Mar 29, 2008 at 4:25 PM, Roy H. Han <rhh2109@columbia.edu> wrote:
Is there a way to have numpy raise exceptions instead of printing warnings? The printed warnings make debugging hard.
numpy.seterr() Read the docstring for the various options. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
6716
Age (days ago)
6716
Last active (days ago)
1 comments
2 participants
participants (2)
-
Robert Kern -
Roy H. Han