proposed language change to int/int==float (was: PEP0238 lament)
Terry Reedy
tjreedy at home.com
Tue Jul 31 13:04:20 EDT 2001
More information about the Python-list mailing list
Tue Jul 31 13:04:20 EDT 2001
- Previous message (by thread): proposed language change to int/int==float (was: PEP0238 lament)
- Next message (by thread): proposed language change to int/int==float (was: PEP0238 lament)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Bengt Richter" <bokr at accessone.com> wrote in message news:3b666579.880046189 at wa.news.verio.net... > BTW, I couldn't find where it officially says a sequence expression's elements > are evaluated guaranteed left to right. E.g., if I write > [foo(), bar(), baz()] > can I depend on global side effects of foo() to be available to bar(), and of bar() > to baz() in strict sequence? The sequences are at the top of the precedence table, > but what of the elements? Just want to make sure ;-) I remember reading that function arguments are (guaranteed) evaluated l to r. I believe dict entries are also, so {'n':1, 'n':2} == {'n':2}. I presume list items are also. This should be in ref manual if not already. Terry J. Reedy
- Previous message (by thread): proposed language change to int/int==float (was: PEP0238 lament)
- Next message (by thread): proposed language change to int/int==float (was: PEP0238 lament)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list