[issue7926] Stray parentheses() in context manager "what's new" doc

2010-02-14 Thread Edward Welbourne
Edward Welbourne added the comment: Nice :-) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue7926] Stray parentheses() in context manager "what's new" doc

2010-02-14 Thread Georg Brandl
Georg Brandl added the comment: Thanks, should be fine now in r78188. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue7926] Stray parentheses() in context manager "what's new" doc

2010-02-14 Thread Edward Welbourne
Edward Welbourne added the comment: The third change removes the early uses of "object" from: Finally, the closing(object)() function returns object so that it can be bound to a variable, and calls object.close at the end of the block. leaving the last use (object.close) as a dangling referen

[issue7926] Stray parentheses() in context manager "what's new" doc

2010-02-14 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r78182. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue7926] Stray parentheses() in context manager "what's new" doc

2010-02-13 Thread Edward Welbourne
New submission from Edward Welbourne : http://docs.python.org/whatsnew/2.6.html#writing-context-managers penultimate item in "A high-level explanation": If BLOCK raises an exception, the __exit__(type, value, traceback)() is called has extra () after the argument list - this appears to say tha