[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 ipython console, line 1 A test ^ type

[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. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3298

[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.python.org/issue3298

[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 stuff pass This adds

[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