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 serhiy.storchaka
Recipients amaury.forgeotdarc, asvetlov, eric.smith, loewis, mark.dickinson, meador.inge, pitrou, rhettinger, sdaoden, serhiy.storchaka, stutzbach, vstinner, xuanji
Date 2012-09-22.09:16:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348305402.99.0.273207589774.issue10044@psf.upfronthosting.co.za>
In-reply-to
Content
Victor, the danger of this approach is that we can't verify that a particular compiler with certain options on a specific platform compiles the source code with undefined behavior in a certain way. If such a test were possible, if this aspect was guaranteed by the compiler manufacturer, or could be checked in the ./configure script, then such an approach would have some meaning.

Regardless of _PyLong_IS_SMALL_INT, the rest of patch looks a little cumbersome.
History
Date User Action Args
2012-09-22 09:16:43serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, rhettinger, amaury.forgeotdarc, mark.dickinson, pitrou, vstinner, eric.smith, stutzbach, asvetlov, meador.inge, xuanji, sdaoden
2012-09-22 09:16:42serhiy.storchakasetmessageid: <1348305402.99.0.273207589774.issue10044@psf.upfronthosting.co.za>
2012-09-22 09:16:42serhiy.storchakalinkissue10044 messages
2012-09-22 09:16:42serhiy.storchakacreate