On Mon, Aug 21, 2017 at 12:19 PM, MRAB <pyt...@mrabarnett.plus.com> wrote: > On 2017-08-21 03:00, Steve D'Aprano wrote: >> >> On Fri, 18 Aug 2017 04:55 pm, Marko Rauhamaa wrote: >> >>> Is a Python implementation >>> allowed to parallelize or otherwise reorder the evaluation loop? >> >> >> No. >> > [snip] > > Well, I suppose an implementation _could_ parallelise, or whatever, > _provided that_ it gave the same result.
In other words, it's allowed to parallelise, just as long as everything happens sequentially. With arbitrary expressions, one of them could affect another easily. ChrisA -- https://mail.python.org/mailman/listinfo/python-list