This is not a bug, this is how it should work.<br><br>A triple quoted string ends only with another triple quoted string (which can extend over multiple lines) In your example you are escaping the first quote character at the end of the line, thus leaving just two quotes that do not end the string. <br>
Another """ (triple quote) will terminate the string.<br><br>HTH<br><br><br><div class="gmail_quote">2008/5/10  <<a href="mailto:wxPythoner@gmail.com">wxPythoner@gmail.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you are in the interactive prompt of the Python interpreter and you<br>
do this<br>
<br>
print """Testing\"""   or   print '''Testing\'''<br>
<br>
you get three dots [...] as if Python expects a code block. If you<br>
press Enter, you get three dots again, and again, and again... You<br>
can't get out of the code block with pressing the Enter key; you have<br>
to press Ctrl+Z (if you're in Linux) in order to get out of that code<br>
block, which then throws you back to the Linux command line, but<br>
before that it prints this line<br>
<br>
[1]+  Stopped                 python<br>
<br>
<br>
If you do<br>
<br>
print "Testing\"   or   print 'Testing\'<br>
<br>
you get an error, but not of you use the triple quotes. Is that a bug<br>
in the interpreter perhaps?<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>