Issue 20869: IDLE lib error in IOBinding.py (original) (raw)

Created on 2014-03-08 09:54 by Domenico.Mustara, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (5)
msg212925 - (view) Author: Domenico Mustara (Domenico.Mustara) Date: 2014-03-08 09:54
Not a new issue, many Python users have already written about this error. In line 128 of IOBinding.py file, please change 'str = str.split("\n", 2)[:2]" to "lst = str.split("\n", 2)[:2]". This error prevents IDLE from working correctly when a .py file is loaded. I use IDLE on Ubuntu 13.10. At every new update, I need to manually modify IOBinding.py file in /usr/lib/python2.7/idlelib directory. Please fix it. Thanks
msg212932 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-03-08 14:16
Indeed it has been reported before, and fixed. (It's a little hard to find the issue by searching the tracker, though.) Issue 19426.
msg212936 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2014-03-08 17:39
More specifically, the bug that causes the problem was first released in the 2.7.6 release candidate 1 (pre-release, 2013-10-26) and fixed in the official 2.7.6 final release (2013-11-10). So it is somewhat surprising that you would continually re-encounter it.
msg212993 - (view) Author: Domenico Mustara (Domenico.Mustara) Date: 2014-03-09 22:32
Is idle-python2.7_2.7.5-8ubuntu3.1_all.deb the latest package? I downloaded it from saucy and saucy-updates repository via packages.ubuntu.com. In both cases the error is still there. I don't want to be annoying but I would like you to decompress the package and verify yourself. Tell me please If I'm wrong. Not a great problem, indeed.
msg212994 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-03-09 22:37
That's an Ubuntu packaging issue, not a Python issue. You should check with Ubuntu about it.
History
Date User Action Args
2022-04-11 14:57:59 admin set github: 65068
2014-03-09 22:37:34 r.david.murray set messages: +
2014-03-09 22:32:35 Domenico.Mustara set messages: +
2014-03-08 17:39:34 ned.deily set nosy: + ned.deilymessages: +
2014-03-08 14:16:25 r.david.murray set status: open -> closedsuperseder: Opening a file in IDLE causes a crash or hangnosy: + r.david.murraymessages: + type: crash -> behaviorresolution: duplicatestage: resolved
2014-03-08 09:54:45 Domenico.Mustara create