[issue8793] IDLE crashes on opening invalid file

2011-11-15 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: With IDLE 3.2 on Ubuntu 11.04, this is not a problem. An error box pops up: SyntaxError (unicode error) 'unicodeescape' codec can't decode bytes in position 0-3: truncated \xXX escape With IDLE 2.7.1 on Ubuntu 11.04, the console gives the

[issue8793] IDLE crashes on opening invalid file

2011-11-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset e277fe8380e0 by Ned Deily in branch '2.7': Issue #8793: Prevent IDLE crash in 2.7 when given strings with http://hg.python.org/cpython/rev/e277fe8380e0 -- nosy: +python-dev

[issue8793] IDLE crashes on opening invalid file

2011-11-15 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Thank for the suggestion! BTW, a similar change had been recently made to Python 3 for Issue9871 for invalid byte strings. -- assignee: - ned.deily nosy: +ned.deily resolution: - fixed stage: - committed/rejected status: open - closed

[issue8793] IDLE crashes on opening invalid file

2010-05-31 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: When running IDLE in a console, I get the error: Exception in Tkinter callback Traceback (most recent call last): File c:\prod\python\lib\lib-tk\Tkinter.py, line 1410, in __call__ return self.func(*args) File

[issue8793] IDLE crashes on opening invalid file

2010-05-23 Thread royf
New submission from royf roy.d@gmail.com: 1. Create a file containing this line: '\xdk' 2. Open the file for editing in IDLE 2.6.4. Banner: Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32 3. Run Module (F5) - Bug#1: no error is shown 4. Run Module 7