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 Rhamphoryncus
Recipients Rhamphoryncus, christian.heimes
Date 2007-12-17.17:37:23
SpamBayes Score 0.25279078
Marked as misclassified No
Message-id <1197913044.23.0.520207811814.issue1635@psf.upfronthosting.co.za>
In-reply-to
Content
You have:
#define Py_NAN Py_HUGE_VAL * 0
I think this would be safer as:
#define Py_NAN (Py_HUGE_VAL * 0)

For instance, in code that may do "a / Py_NAN".

Those manual string copies (*cp++ = 'n';) are ugly.  Can't you use
strcpy() instead?
History
Date User Action Args
2007-12-17 17:37:24Rhamphoryncussetspambayes_score: 0.252791 -> 0.25279078
recipients: + Rhamphoryncus, christian.heimes
2007-12-17 17:37:24Rhamphoryncussetspambayes_score: 0.252791 -> 0.252791
messageid: <1197913044.23.0.520207811814.issue1635@psf.upfronthosting.co.za>
2007-12-17 17:37:24Rhamphoryncuslinkissue1635 messages
2007-12-17 17:37:23Rhamphoryncuscreate