classification
Title: Evaluation order example lacks suffix
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 2.6, Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, terry.reedy
Priority: normal Keywords:

Created on 2008-08-07 21:53 by terry.reedy, last changed 2008-08-08 06:42 by georg.brandl. This issue is now closed.

Messages (2)
msg70864 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2008-08-07 21:53
Language reference/ Expressions/ Evaluation order
...
In the following lines, expressions will be evaluated in the arithmetic
order of their suffixes:
...
func(expr1, expr2, *expr3, **expr4)

The omission of a suffix from the function expression could imply that
such are somehow not included in the left-to-right rule.  Suggest
'func0', 'f_expr0', 'func_expr0' or just 'expr0' possibly renumbered from 1.

expr1(expr2, expr3, *expr4, **expr5)
is probably most consistent with other examples.
msg70882 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-08-08 06:42
Thanks, fixed in r65591.
History
Date User Action Args
2008-08-08 06:42:29georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg70882
2008-08-07 21:53:16terry.reedycreate