Bugs item #1549574, was opened at 2006-08-30 20:46
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1549574&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.4
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Alexander Belopolsky (belopolsky)
Assigned to: Nobody/Anonymous (nobody)
Summary: Pdb parser bug

Initial Comment:
>>> import pdb
>>> pdb.set_trace()
--Return--
> <stdin>(1)<module>()->None
(Pdb) p ";;"
*** SyntaxError: SyntaxError('EOL while scanning
single-quoted string', ('<string>', 1, 1, '"'))
*** SyntaxError: EOL while scanning single-quoted
string (<stdin>, line 1)


Still present in trunk:51513M

----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2006-10-12 09:23

Message:
Logged In: YES 
user_id=849994

It's documented, and it can be worked around. So I'm closing
this as Won't Fix. If you want to have a more elaborate
splitting, please submit a feature request.

----------------------------------------------------------------------

Comment By: Ilya Sandler (isandler)
Date: 2006-09-04 21:42

Message:
Logged In: YES 
user_id=971153

For the record, this behaviour is explicitly documented in
pdb docs.

from:
http://www.python.org/doc/current/lib/debugger-commands.html

"""Multiple commands may be entered on a single line,
separated by ";;".... No intelligence is applied to
separating the commands; the input is split at the first
";;" pair, even if it is in the middle of a quoted string."""

So should this be considered a bug?  

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1549574&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to