[Python-bugs-list] [Bug #130242] PyMember_Set of T_CHAR always raises exception

noreply@sourceforge.net noreply@sourceforge.net
Fri, 26 Jan 2001 22:22:43 -0800


Bug #130242, was updated on 2001-Jan-26 20:09
Here is a current snapshot of the bug.

Project: Python
Category: Python Interpreter Core
Status: Closed
Resolution: Fixed
Bug Group: None
Priority: 5
Submitted by: davecole
Assigned to : tim_one
Summary: PyMember_Set of T_CHAR always raises exception

Details: Copied from patch 103453 (which I just submitted):

There is a missing break at the end of the T_CHAR case in PyMember_Set, so
the program fall through to the error case even when the member set is
successful.


Follow-Ups:

Date: 2001-Jan-26 22:22
By: tim_one

Comment:
Fixed and Closed, structmember.c rev 2.19, ACKS rev 1.75.
Checkin comment:

SF bug
http://sourceforge.net/bugs/?func=detailbug&bug_id=130242&group_id=5470
SF patch
http://sourceforge.net/patch/?func=detailpatch&patch_id=103453&group_id=5470
PyMember_Set of T_CHAR always raises exception.
Unfortunately, this is a use of a C API function that Python itself never
makes, so there's no .py test I can check in to verify this stays fixed. 
But the fault in the
code is obvious, and Dave Cole's patch just as obviously fixes it.
-------------------------------------------------------

Date: 2001-Jan-26 22:12
By: tim_one

Comment:
Assigned to me.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=130242&group_id=5470