[Python-Dev] Activating pymalloc

Tim Peters tim.one@comcast.net
Fri, 15 Mar 2002 02:27:59 -0500


[Neal Norwitz]
> ...
> Part of the problem was the code in Modules/sre.h:16:
> /* size of a code word (must be unsigned short or larger, and
>    large enough to hold a Py_UNICODE character) */
> #ifdef Py_UNICODE_WIDE
> #define SRE_CODE unsigned long
> #else
> #define SRE_CODE unsigned short
> #endif
>
> #define SRE_CODE unsigned short

That code is nuts.  Open a bug report and assign it to effbot.

> Notice SRE_CODE is always set to unsigned short.
> I don't know what is correct.

That's why you should open a bug report and assign it to effbot <wink>.

> I can re-run purify.  Although, I have a crappy beta, so I don't
> know if it will be useful or not.

It didn't look useful last time (the UMRs you reported then were in the
bowels of your platform's libc, with oodles of "*unknown func*" lines above
the bowels); if that's the best it can do, don't bother.