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 pitrou
Recipients amaury.forgeotdarc, benjamin.peterson, georg.brandl, lemburg, pitrou, schuppenies
Date 2008-06-13.20:32:41
SpamBayes Score 0.0323304
Marked as misclassified No
Message-id <1213389159.5912.13.camel@fsol>
In-reply-to <4852D60A.40504@egenix.com>
Content
Le vendredi 13 juin 2008 à 20:18 +0000, Marc-Andre Lemburg a écrit :
> AFAIK, only Crays have this problem, but apart from that: I'd consider
> it a bug if sizeof(Py_UCS4) != 4.

Perhaps a #error can be added to that effect?
Something like (untested):

#if SIZEOF_INT == 4 
typedef unsigned int Py_UCS4; 
#elif SIZEOF_LONG == 4
typedef unsigned long Py_UCS4; 
#else
#error Could not find a 4-byte integer type for Py_UCS4, aborting
#endif

(of course we could also try harder to find an appropriate type, but I'm
no specialist in C integer variations)
History
Date User Action Args
2008-06-13 20:32:42pitrousetspambayes_score: 0.0323304 -> 0.0323304
recipients: + pitrou, lemburg, georg.brandl, amaury.forgeotdarc, benjamin.peterson, schuppenies
2008-06-13 20:32:41pitroulinkissue3098 messages
2008-06-13 20:32:41pitroucreate