[issue3298] Multiline string with quotes is not parsed correctly.

2008-07-06 Thread Stavros Korokithakis
Stavros Korokithakis <[EMAIL PROTECTED]> added the comment: Ah, interesting, I had forgotten that adjacent strings are merged. Thanks. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3298] Multiline string with quotes is not parsed correctly.

2008-07-06 Thread Stavros Korokithakis
Stavros Korokithakis <[EMAIL PROTECTED]> added the comment: Hmm, what would be the meaning of """ " in this particular context? I can't think of a situation where """A test""" " would be valid code. __

[issue3298] Multiline string with quotes is not parsed correctly.

2008-07-06 Thread Stavros Korokithakis
New submission from Stavros Korokithakis <[EMAIL PROTECTED]>: A multiline string with quotes next to the ending quote is not parsed correctly: In [1]: """A "test"""" File "&quo

[issue1435] Support for multiple handlers for the "with" statement

2007-11-13 Thread Stavros Korokithakis
Stavros Korokithakis added the comment: What this syntax does is similar to the nested context manager in case 12 of PEP343, but with cleaner syntax. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1435] Support for multiple handlers for the "with" statement

2007-11-13 Thread Stavros Korokithakis
New submission from Stavros Korokithakis: Currently, the new "with" statement does not support multiple handlers. For example, to open two files for input/output you would have to do: with open("filein") as input: with open("fileout") as output: #Do