[issue1879] sqrt(-1) doesn't raise ValueError on OS X

2008-04-21 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: This is now fixed in the trunk, as a result of the trunk-math merge. Closing as 'out of date'. -- resolution: -> out of date status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1879] sqrt(-1) doesn't raise ValueError on OS X

2008-02-23 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the confirmation, David! The work in the trunk-math branch should also fix this, in a rather better fashion (i.e., without per-platform hacks). This issue should probably be revisited after it's decided whether to merge trunk-math into the trunk b

[issue1879] sqrt(-1) doesn't raise ValueError on OS X

2008-02-23 Thread David Kwast
David Kwast added the comment: On OSX 10.5 this behavior is confirmed (Python2.5 and 2.6a). This fix appears to be a good fix for python 2.6a. (Python 2.6a with patch applied) Python 2.6a0 (trunk:60977M, Feb 23 2008, 19:24:52) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyrig

[issue1879] sqrt(-1) doesn't raise ValueError on OS X

2008-01-20 Thread Mark Dickinson
New submission from Mark Dickinson: On OS X 10.4, and probably other versions of OS X too, calls to math.log and math.sqrt that should raise ValueError instead return a NaN: Python 2.6a0 (trunk:60144, Jan 20 2008, 21:43:56) [GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin Type "help",