Bugs item #1526834, was opened at 2006-07-22 00:03
Message generated for change (Comment added) made by akuchling
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1526834&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: Python Library
>Group: Python 2.6
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ilya Sandler (isandler)
Assigned to: A.M. Kuchling (akuchling)
Summary: unbalanced parentheses from command line crash pdb
Initial Comment:
bagira:~/python-svn/patches> cat simple
print 123
bagira:~/python-svn/patches> ../python/trunk/python -m
pdb simple
(Pdb) b f( #crashes your program
Traceback (most recent call last):
...
File "/home/ilya/python-svn/python/trunk/Lib/sre.py",
line 233, in _compile
raise error, v # invalid expression
error: unbalanced parenthesis
Uncaught exception. Entering post mortem debugging
(Pdb) b f( # doing it post-mortem fully crashes pdb
Traceback (most recent call last):
..
raise error, v # invalid expression
sre_constants.error: unbalanced parenthesis
bagira:~/python-svn/patches>
----------------------------------------------------------------------
>Comment By: A.M. Kuchling (akuchling)
Date: 2006-09-05 09:19
Message:
Logged In: YES
user_id=11375
Fix applied in rev. 51745.
----------------------------------------------------------------------
Comment By: Ilya Sandler (isandler)
Date: 2006-08-06 15:41
Message:
Logged In: YES
user_id=971153
I don't think supporting
"b f()"
is needed...
And as a catch-all argument, gdb does not support "b f()"
either
----------------------------------------------------------------------
Comment By: A.M. Kuchling (akuchling)
Date: 2006-07-27 08:38
Message:
Logged In: YES
user_id=11375
Easily fixed by adding a re.escape() call, but this means
that 'b f()', if you've been doing that, will no longer work
to set a breakpoint. The documentation doesn't claim that
'b f()' should work, but people may be used to typing this.
I've asked the 2.5 release manager about this issue.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1526834&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com