Re: [Python-ideas] iterable.__unpack__ method

2013-02-24 Thread Chris Angelico
On Mon, Feb 25, 2013 at 1:44 AM, Tim Chase wrote: > On 2013-02-25 01:19, Chris Angelico wrote: >> >>> command, subcommand = next(iterargs), next(iterargs) >> >> >> >> >> >> Err is there a language guarantee of the order of evaluation >> >> in a tuple, or is this just a "CPython happens to

Re: [Python-ideas] iterable.__unpack__ method

2013-02-24 Thread Tim Chase
On 2013-02-25 01:19, Chris Angelico wrote: > >>> command, subcommand = next(iterargs), next(iterargs) > >> > >> > >> Err is there a language guarantee of the order of evaluation > >> in a tuple, or is this just a "CPython happens to evaluate > >> independent expressions left-to-right"? Thi

Re: [Python-ideas] iterable.__unpack__ method

2013-02-24 Thread Chris Angelico
On Mon, Feb 25, 2013 at 1:16 AM, Steven D'Aprano wrote: > On 24/02/13 23:59, Chris Angelico wrote: >> >> On Sun, Feb 24, 2013 at 10:25 PM, Larry Hastings >> wrote: >>> >>> Or >>> >>> command, subcommand = next(iterargs), next(iterargs) >> >> >> Err is there a language guarantee of the or