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

2010-02-14 Thread Edward Welbourne
Edward Welbourne added the comment: Nice :-) -- ___ Python tracker <http://bugs.python.org/issue7926> ___ ___ Python-bugs-list mailing list Unsubscribe:

[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

[issue7928] String formatting: grammar wrongly limits [index] to integer

2010-02-14 Thread Edward Welbourne
New submission from Edward Welbourne : http://docs.python.org/library/string.html#formatstrings field_name::= (identifier | integer) ("." attribute_name | "[" element_index "]")* element_index ::= integer Subsequent text indicates __getitem__() is

[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 appe