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 mark.dickinson
Recipients christian.heimes, eric.smith, mark.dickinson, vstinner, zach.ware
Date 2013-11-18.15:28:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384788537.34.0.8105726645.issue19638@psf.upfronthosting.co.za>
In-reply-to
Content
I don't much like the use of Py_SSIZE_T and Py_SAFE_DOWNCAST here:  the dtoa.c code knows almost nothing about Python.h (aside from right at the top), and I'd like to keep it that way if possible.

And in fact I'd say that we *shouldn't* be silencing these warnings; rather, we should take them seriously.  It looks to me as though it is possible for that conversion to overflow.

I'll try to take a look sometime soon.  Adding 2.7 and 3.3, since the bug is present there, too.
History
Date User Action Args
2013-11-18 15:28:57mark.dickinsonsetrecipients: + mark.dickinson, vstinner, eric.smith, christian.heimes, zach.ware
2013-11-18 15:28:57mark.dickinsonsetmessageid: <1384788537.34.0.8105726645.issue19638@psf.upfronthosting.co.za>
2013-11-18 15:28:57mark.dickinsonlinkissue19638 messages
2013-11-18 15:28:57mark.dickinsoncreate