Patches item #1298449, was opened at 2005-09-22 08:45
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1298449&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: Modules
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Andrew Bennetts (spiv)
>Assigned to: Michael Hudson (mwh)
Summary: "Fatal Python error" from cStringIO's writelines

Initial Comment:
This patch fixes a bug demonstrated by the following code:

def i():
    yield "line1"
    raise KeyboardInterrupt()

import cStringIO
sio = cStringIO.StringIO()
sio.writelines(i())


----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2005-09-22 10:20

Message:
Logged In: YES 
user_id=6656

OK, this is checked in (along with your other patch) as:

Lib/test/test_StringIO.py revision 1.20
Misc/ACKS revision 1.296
Misc/NEWS revsision 1.1375
Modules/cStringIO.c revision 2.50

Thanks!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1298449&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to