[Python-ideas] Object grabbing

Koos Zevenhoven k7hoven at gmail.com
Mon May 2 09:57:02 EDT 2016


On Mon, May 2, 2016 at 3:44 PM, Alexander Walters
<tritium-list at sdamon.com> wrote:
> with open(foo), open(bar):
>     .write(baz)  # does what?
>

Hopefully it would raise an exception, even though, in the spirit of
May 1st, it would pick one of the two files at random ;-).

-- Koos


More information about the Python-ideas mailing list