[ python-Bugs-1753395 ] struni: assertion in Windows debug build
SourceForge.net
noreply at sourceforge.net
Sat Aug 4 09:42:10 CEST 2007
Bugs item #1753395, was opened at 2007-07-13 13:35
Message generated for change (Comment added) made by doerwalter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1753395&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Python 3000
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Heller (theller)
Assigned to: Thomas Heller (theller)
Summary: struni: assertion in Windows debug build
Initial Comment:
When running Lib/test/test_descr.py with a Windows debug build, I get an assertion in the MS runtime lib, in the isalpha(*p) call, file typeobject.c, line 1582. The value of '*p' at the time of the call is 4660.
The assertion reported is:
File: istype.c
Line: 68
Expression; (unsigned)(c + 1) <= 256
----------------------------------------------------------------------
>Comment By: Walter Dörwald (doerwalter)
Date: 2007-08-04 09:42
Message:
Logged In: YES
user_id=89016
Originator: NO
Right, this should have been *p > 255, even better would be *p > 127.
Thomas, can you try that on Windows?
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2007-08-03 22:37
Message:
Logged In: YES
user_id=6380
Originator: NO
I wonder if the test "i > 255" wasn't meant to be "*p > 255"? Please try
that, and submit if it works. Looks like Walter Doerwald introduced this
bug in r55892.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1753395&group_id=5470
More information about the Python-bugs-list
mailing list