[Python-Dev] Activating pymalloc

Neal Norwitz neal@metaslash.com
Fri, 15 Mar 2002 07:47:56 -0500


Tim Peters wrote:
> 
> [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>.

Done.

> > 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.

Oh no, purify is much better now.  It reports 1000s of spurious warnings
and then crashes.  It's completely useless now.

Neal