[issue9871] IDLE dies when using some regex

2011-09-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset e74860883a9c by Ned Deily in branch '3.2': Issue #9871: Prevent IDLE 3 crash when given byte stings http://hg.python.org/cpython/rev/e74860883a9c New changeset fe6c7771c25c by Ned Deily in branch 'default': Issue #9871: Prevent IDLE 3 crash when gi

[issue9871] IDLE dies when using some regex

2011-09-14 Thread Popa Claudiu
Changes by Popa Claudiu : Added file: http://bugs.python.org/file23152/idle.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue9871] IDLE dies when using some regex

2011-09-14 Thread Popa Claudiu
Popa Claudiu added the comment: Wrong patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9871] IDLE dies when using some regex

2011-09-14 Thread Popa Claudiu
Changes by Popa Claudiu : Removed file: http://bugs.python.org/file23151/idle.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue9871] IDLE dies when using some regex

2011-09-14 Thread Popa Claudiu
Popa Claudiu added the comment: I've attached a patch, hope it is ok. -- keywords: +patch Added file: http://bugs.python.org/file23151/idle.patch ___ Python tracker ___ _

[issue9871] IDLE dies when using some regex

2011-09-14 Thread Popa Claudiu
Popa Claudiu added the comment: I found the culprit. I wrote b"\x" in IDLE and the window immediatly disappeared. Then, to traceback the problem, I started a python shell and typed the following lines. It seems that in showsyntaxerror, value is different that what was expected. C:\>python P

[issue9871] IDLE dies when using some regex

2011-09-14 Thread Popa Claudiu
Popa Claudiu added the comment: Hello. This happens with this version of IDLE too: Python 3.2.1 (default, Jul 10 2011, 21:51:15) [MSC v.1500 32 bit (Intel)] on win32. I could write a patch if I knew where to start. -- ___ Python tracker

[issue9871] IDLE dies when using some regex

2010-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Verified as IDLE specific on WinXP, 3.1.2 With interpreter, I get >>> import re; re.findall(b"\x.{2}", b"sdds\xd8") ValueError: invalid \x escape In an IDLE Shell window, the window immediately disappears when I hit return and the taskbar button disappears ab

[issue9871] IDLE dies when using some regex

2010-09-16 Thread Popa Claudiu
New submission from Popa Claudiu : Hello. While trying to find a way for extracting strange characters in an ascii file, I stumbled upon some strange behaviour of IDLE, which exits without warning after running the following regex: re.findall(b"\x.{2}", b"sdds\xd8") In Python 2.6, this won't