This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author landry
Recipients landry, mark.dickinson, rpointel, vstinner
Date 2011-07-22.05:23:07
SpamBayes Score 1.3966602e-06
Marked as misclassified No
Message-id <1311312188.43.0.866742456845.issue12589@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.2.1 (default, Jul 18 2011, 10:56:33) 
[GCC 4.2.1 20070719 ] on openbsd4
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
>>> import ctypes.util
>>> libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c'))
>>> isinf = libc.isinf
>>> isinf.argtypes = (ctypes.c_double,)
>>> isinf(0.0)
0
>>> isinf(float('inf'))
1
History
Date User Action Args
2011-07-22 05:23:08landrysetrecipients: + landry, mark.dickinson, vstinner, rpointel
2011-07-22 05:23:08landrysetmessageid: <1311312188.43.0.866742456845.issue12589@psf.upfronthosting.co.za>
2011-07-22 05:23:07landrylinkissue12589 messages
2011-07-22 05:23:07landrycreate