Issue 1298449: "Fatal Python error" from cStringIO's writelines (original ) (raw ) Issue1298449
Created on 2005-09-22 07:45 by spiv , last changed 2022-04-11 14:56 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
cStringIO.diff
spiv,2005-09-22 07:45
patch to fix bug in O_writelines
Messages (2)
msg48748 - (view)
Author: Andrew Bennetts (spiv)
Date: 2005-09-22 07:45
This patch fixes a bug demonstrated by the following code: def i(): yield "line1" raise KeyboardInterrupt() import cStringIO sio = cStringIO.StringIO() sio.writelines(i())
msg48749 - (view)
Author: Michael Hudson (mwh)
Date: 2005-09-22 09:20
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!
History
Date
User
Action
Args
2022-04-11 14:56:13
admin
set
github: 42397
2005-09-22 07:45:01
spiv
create