Michael Hudson wrote: > Walter Dörwald <[EMAIL PROTECTED]> writes: > [...] >>I.e. will VAR still exist after the end of the block with its value >>the return value of __enter__() or will it revert to the previous >>value (if any)? > > Eh, no. Where would you store the old value?
I don't know, where does: >>> x = 42 >>> "".join(chr(x) for x in xrange(10)) '\x00\x01\x02\x03\x04\x05\x06\x07\x08\t' >>> x 42 store it? > [...] Bye, Walter Dörwald _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com