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 loewis
Recipients loewis, sanders_muc
Date 2007-09-02.07:08:57
SpamBayes Score 0.26971772
Marked as misclassified No
Message-id <1188716938.32.0.97605127155.issue1084@psf.upfronthosting.co.za>
In-reply-to
Content
It definitely sounds like a compiler bug. Unless you can provide further
details to the specific error in the C code of Python, it's likely that
we can do little about it.

If you want to analyze this further, here is a number of things you can try:
- compile Python at various optimization levels. A compiler bug often
manifests itself only at a specific set of optimization flags.
- try tracing this invocation of .find() in a debugger. Doing so at a
lower optimization level is easier, since the compiler may have inlined
the various functions that form .find() under optimization.
- if the debugger does not allow to pinpoint the erroneous function, add
printf statements.
Most of the code to study is in Objects/stringobject.c and
Objects/stringlib/find.h.
History
Date User Action Args
2007-09-02 07:08:58loewissetspambayes_score: 0.269718 -> 0.26971772
recipients: + loewis, sanders_muc
2007-09-02 07:08:58loewissetspambayes_score: 0.269718 -> 0.269718
messageid: <1188716938.32.0.97605127155.issue1084@psf.upfronthosting.co.za>
2007-09-02 07:08:58loewislinkissue1084 messages
2007-09-02 07:08:57loewiscreate