packing unpacking depends on order.

Chris Angelico rosuav at gmail.com
Thu Sep 3 22:04:13 EDT 2015


On Fri, Sep 4, 2015 at 9:25 AM, Sven R. Kunze <srkunze at mail.de> wrote:
> Both sides may have side-effects, but at least independently from each
> other. That's at least how I feel about it.

You can't do that, though. Every piece of Python code can cause
arbitrary code to execute, and unless you run them in separate
interpreters, they can affect each other. So Python MUST have a
well-defined order of evaluation.

ChrisA



More information about the Python-list mailing list